Improve reproducibility of XBPS packages

XBPS packages don't seem to have an option to manipulate file
permissions at package creation time.

So as a best effort, set the umask as soon as possible to ensure
file permissions are the same when running the bootstrap.

This is enough to allow reproducible XBPS packages when starting the
bootstrap with a umask different than 0022.
This commit is contained in:
Dor Askayo 2022-05-13 16:21:14 +03:00
parent 3c60bdebc3
commit d32d0f1d51
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ trap 'env - PATH=${PREFIX}/bin PS1="\w # " bash -i' EXIT
trap bash EXIT
umask 0022
build xz-5.0.5
build automake-1.11.2