logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: bc98100f39424d32c078d2082a0daf291c01a384
parent 1453e23dfd7685e61729dd34811123631bbf5b7b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 29 May 2024 17:23:03 +0200

make-root.sh: Cleanup large directories we make no use of

Diffstat:

Mmake-root.sh9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/make-root.sh b/make-root.sh @@ -199,6 +199,15 @@ sed -i -e 's;libwchar.a: fake;libwchar.a:;' heirloom-070715/libwchar/Makefile.mk rm -r pigz-*/zopfli || die +rm -r heirloom-devtools-*/make heirloom-devtools-*/sccs || die + +for i in cpio spell mail nawk oawk +do + rm -r heirloom-0*/$i || die +done + +rm -r zlib-*/contrib/vstudio || die + deblob -n | tee /dev/stderr | awk '/detected: /{ print $2 }' | xargs du -bach | sort -h cd "${WORKDIR}"