summaryrefslogtreecommitdiff
path: root/lang/python/python3-host.mk
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-08-18 14:11:32 -0700
committerGitHub <noreply@github.com>2020-08-18 14:11:32 -0700
commitbf3b6af2055de7408ccea126ee7e4dab2c5193f4 (patch)
treea586b63729974ca4fde3249586268dfe77ef9808 /lang/python/python3-host.mk
parentf3bb00dfc2fbf2d60e598c9c9ed8ea6ddf19e0be (diff)
parent722a5b8efa19fd54728af462441dce08cd7e545b (diff)
Merge pull request #13131 from jefferyto/python-pip-hash-checking
python3: Use hash-checking mode when installing host pip packages
Diffstat (limited to 'lang/python/python3-host.mk')
-rw-r--r--lang/python/python3-host.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/python3-host.mk b/lang/python/python3-host.mk
index f5016ed57..9dd5e13c4 100644
--- a/lang/python/python3-host.mk
+++ b/lang/python/python3-host.mk
@@ -55,10 +55,11 @@ HOST_PYTHON3_PIP_CACHE_DIR:=$(DL_DIR)/pip-cache
define HostPython3/PipInstall
$(HOST_PYTHON3_VARS) \
$(HOST_PYTHON3_PIP) \
- --disable-pip-version-check \
--cache-dir "$(HOST_PYTHON3_PIP_CACHE_DIR)" \
+ --disable-pip-version-check \
install \
--no-binary :all: \
+ --require-hashes \
$(1)
ifdef CONFIG_PYTHON3_HOST_PIP_CACHE_WORLD_READABLE
$(FIND) $(HOST_PYTHON3_PIP_CACHE_DIR) -not -type d -exec chmod go+r '{}' \;