logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: d32d0f1d51ab7e29b0e6a46ca77c2ff851dc3015
parent 3c60bdebc346f234521ce5401158e8c33d9a21fa
Author: Dor Askayo <dor.askayo@gmail.com>
Date:   Fri, 13 May 2022 16:21:14 +0300

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.

Diffstat:

Msysc/run2.sh2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sysc/run2.sh b/sysc/run2.sh @@ -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