Improve reproduciblity of some packages

I figure these out when trying to run the build in docker, which provides an environment slightly different to the one used when building in qemu/chroot/bwrap with rootfs.py
This commit is contained in:
Eduardo Sánchez Muñoz 2022-12-01 23:14:38 +01:00
parent 9634b6d059
commit 8adab8b568
4 changed files with 23 additions and 3 deletions

View file

@ -21,11 +21,17 @@ src_prepare() {
src_configure() {
# --build argument needed for reproducibility
# bash_cv_dev_stdin and bash_cv_dev_fd are also used to
# improve reproducibility because they make configure
# skip checking for /dev/{fd,stdin,stdout,stderr} (build
# output is affected by their availability otherwise).
./configure --prefix="${PREFIX}" \
--without-bash-malloc \
--disable-nls \
--build=i386-unknown-linux-musl \
--enable-static-link
--enable-static-link \
bash_cv_dev_stdin=absent \
bash_cv_dev_fd=whacky
}
src_install() {