logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: b1c705ffa92d2a8ea27c5a7a483ee38a99b950c7
parent 4679cd378034ac4044ea48712724a147cef49c33
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  8 May 2024 05:25:00 +0200

init.sh: Run bmake clean to free up tmpfs

Diffstat:

Minit.sh6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/init.sh b/init.sh @@ -59,12 +59,14 @@ build_bzip2() { ln bzip2 /bin/bzip2 ln -s bzip2 /bin/bunzip2 ln -s bzip2 /bin/bzcat + bmake clean } build_zlib_libs() { cd /zlib-*/ ./configure bmake install + bmake clean } build_pigz() { @@ -75,6 +77,7 @@ build_pigz() { ln -s pigz /bin/gzip ln -s pigz /bin/ungzip + bmake clean } build_hierloom_devtools() { @@ -84,6 +87,7 @@ build_hierloom_devtools() { bmake "$cmd/Makefile" bmake RANLIB=true -C "$cmd" bmake RANLIB=true -C "$cmd" install + bmake RANLIB=true -C "$cmd" clean done } @@ -95,6 +99,7 @@ build_hierloom() { bmake "$cmd/Makefile" bmake CC=$CC AR="ar" RANLIB=true -C "$cmd" bmake CC=$CC AR="ar" RANLIB=true -C "$cmd" install + bmake CC=$CC AR="ar" RANLIB=true -C "$cmd" clean done ln -fs /usr/5bin/sort /bin/sort } @@ -105,6 +110,7 @@ build_utils_std() { ./configure PREFIX=/usr bmake bmake install + bmake clean } build_sbase_sed() {