Commit 158b83c2 authored by intrigeri's avatar intrigeri
Browse files

Merge branch 'bugfix/15400-python-lib-breaks-reproducibility' into stable (Fix-committed: #15400)

parents 821bb4c5 a867dfd8
......@@ -5,7 +5,7 @@ set -u
echo "Installing the tailslib python library"
# Import ensure_hook_dependency_is_installed()
# Import ensure_hook_dependency_is_installed() and strip_nondeterminism_wrapper()
. /usr/local/lib/tails-shell-library/
ensure_hook_dependency_is_installed python3-setuptools
......@@ -14,5 +14,12 @@ ensure_hook_dependency_is_installed python3-setuptools
cd /tmp/pythonlib
python3 clean
python3 install
if [ ! -f ${package_glob_pattern} ]; then
echo "Cannot find Tailslib Python package \"${package_glob_pattern}\"" >&2
exit 1
strip_nondeterminism_wrapper --type zip "$(realpath ${package_glob_pattern})" 2>/dev/null
rm -rf /tmp/pythonlib
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment