logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://anongit.hacktivis.me/git/bootstrap-initrd.git/
commit: 3bfe4db66c28fe978b3c8dbda9050d4506293b9a
parent 5c44e59d816f62cc2f571e59671b26283449b132
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  2 Feb 2025 13:49:54 +0100

make-root.sh: patch out -g from bzip2

Diffstat:

Mmake-root.sh1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/make-root.sh b/make-root.sh @@ -173,6 +173,7 @@ cat >"${oyacc}/config.h" <<EOF #define HAVE_STRLCPY EOF +sed -i -e '/CFLAGS/s; -g;;' bzip2-*/Makefile bzip2-*/Makefile-libbz2_so || die "Failed patching out `-g` in /bzip2-*/Makefile*" sed -i -e 's;bzip2-shared;bzip2;' bzip2-*/Makefile-libbz2_so || die "Failed patching /bzip2-*/Makefile-libbz2_so" sed -i -e 's;all: libbz2.a;all: libbz2.so;' -e 's;bzip2: libbz2.a;bzip2: libbz2.so;' bzip2-*/Makefile || die "Failed patching /bzip2-*/Makefile" rm bzip2-*/sample* || die "Failed removing sample bzip2 files"