Make guile build work on chroot

This commit is contained in:
fosslinux 2021-10-14 21:30:33 +11:00
parent 04c3dc60a5
commit b0f9c00ef3
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ src_prepare() {
# kernel-specific (in ways other than hardcoded string). Hence disable
# checksumming for guile binary under chroot.
if [ "$CHROOT" = True ]; then
sed -i '/guile$/d' ../../checksums
sed -i '\|/usr/bin/guile$|d' ../../checksums
sed -i '\|/usr/lib/musl/libguile-3.0.a$|d' ../../checksums
fi
find . -name '*.info*' -delete