mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 13:55:24 +01:00
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:
parent
9634b6d059
commit
8adab8b568
4 changed files with 23 additions and 3 deletions
|
|
@ -31,9 +31,14 @@ src_prepare() {
|
|||
src_configure() {
|
||||
# FORCE_UNSAFE_CONFIGURE disables "you should not run configure as root"
|
||||
# error from configuration system of coreutils.
|
||||
# gl_cv_func_getcwd_path_max is set to improve reproducibility.
|
||||
# In some environments, the configure script would set it to
|
||||
# "no, but it is partly working", and in others it would set it
|
||||
# to "yes", producing different build outputs.
|
||||
FORCE_UNSAFE_CONFIGURE=1 ./configure CFLAGS="-static" \
|
||||
--prefix="${PREFIX}" \
|
||||
--build=i386-unknown-linux-musl
|
||||
--build=i386-unknown-linux-musl \
|
||||
gl_cv_func_getcwd_path_max="no, but it is partly working"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue