mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 00:35:25 +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
|
|
@ -50,4 +50,8 @@ src_install() {
|
|||
# Remove messed up manpages
|
||||
rm "${DESTDIR}/"*.0
|
||||
rm "${DESTDIR}${PREFIX}/lib/perl5/5.32.1/pod/perldebguts.pod"
|
||||
|
||||
# Improve reproducibility. hostcat might be empty or set to "cat /etc/hosts"
|
||||
# depending on whether /etc/hosts was available during the build.
|
||||
sed -i "s_^hostcat='.*'\$_hostcat=''_g" "${DESTDIR}${PREFIX}/lib/perl5/5.32.1/i386-linux/Config_heavy.pl"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue