Browse Source

Merge pull request #5726 from commodo/python3-more-reproducible

lang/python/python-package-install.sh: assign SOURCE_DATE_EPOCH to PYTHONHASHSEED
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
0b7eed7fef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      lang/python/python-package-install.sh

+ 5
- 0
lang/python/python-package-install.sh View File

@ -1,6 +1,11 @@
#!/bin/sh
set -e
[ -z "$SOURCE_DATE_EPOCH" ] || {
PYTHONHASHSEED="$SOURCE_DATE_EPOCH"
export PYTHONHASHSEED
}
process_filespec() {
local src_dir="$1"
local dst_dir="$2"


Loading…
Cancel
Save