From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.1572.1587083980027738917 for ; Thu, 16 Apr 2020 17:39:40 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: erik.c.bjorge@intel.com) IronPort-SDR: w62yLs7Jl8Z75mQFTtYjeuiMmYSUH/mDX5NGIKXypLV6PRHT8twT+XmmaPspAFhVX5iO+thfxT YxzIZvOgueWw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 17:39:39 -0700 IronPort-SDR: /cPqsST83a7zep7RA189VVrxd2bITQ7L7EqoWF3+LVbQPsKY6uffrlzh9GAszPyJEbte+ZW5D6 HggpKS9sai4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,392,1580803200"; d="scan'208";a="278238316" Received: from ecbjorge-mobl1.amr.corp.intel.com ([10.212.61.122]) by orsmga008.jf.intel.com with ESMTP; 16 Apr 2020 17:39:38 -0700 From: "Bjorge, Erik C" To: devel@edk2.groups.io Cc: Ashley DeSimone , Nate DeSimone , Puja Pandya , Bret Barkelew , Prince Agyeman Subject: [edk2-staging/EdkRepo] [PATCH v2] EdkRepo: Only install packages included with the installer Date: Thu, 16 Apr 2020 17:38:04 -0700 Message-Id: <82633899a22929c7a511ad4eb7d955dd610f8445.1587082980.git.erik.c.bjorge@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit When installing packages pip may attempt to download dependencies. The installer should contain all dependencies so tell pip where to look for any dependencies. Signed-off-by: Erik Bjorge Cc: Ashley DeSimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Bret Barkelew Cc: Prince Agyeman --- edkrepo_installer/linux-scripts/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edkrepo_installer/linux-scripts/install.py b/edkrepo_installer/linux-scripts/install.py index 099954d..0f10ac6 100755 --- a/edkrepo_installer/linux-scripts/install.py +++ b/edkrepo_installer/linux-scripts/install.py @@ -666,7 +666,7 @@ def do_install(): whl = wheels_to_install[whl_name]['wheel'] install_whl = wheels_to_install[whl_name]['install'] if install_whl: - install_cmd = [def_python, '-m', 'pip', 'install'] + install_cmd = [def_python, '-m', 'pip', 'install', '--no-index', '--find-links={}'.format(whl_src_dir)] if install_to_local: install_cmd.append('--user') install_cmd.append(os.path.join(whl_src_dir, whl)) -- 2.21.0.windows.1