logo

bootstrap-initrd

Linux initrd generator to bootstrap a POSIX-ish system from a reasonably small binary seed git clone https://hacktivis.me/git/make-initrd.git
commit: e4ea48246c6fcb7d12a8bbc1b7db50e3b99d55ac
parent 8bf4eae39058132f39e378f378d6536d66e9bed0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 28 Sep 2023 16:26:18 +0200

make-initrd.sh: Die if setting /bin/sh fails

Diffstat:

Mmake-initrd.sh2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make-initrd.sh b/make-initrd.sh @@ -45,7 +45,7 @@ done cp "${WORKDIR}/init" . || die "copying init" chmod 755 init || die "init chmod" -ln bin/mksh bin/sh +ln bin/mksh bin/sh || die "default shell link" for lib in $(find bin -type f -exec lddtree -l {} + | grep -v bin/ | sort | uniq); do cp "$lib" lib/ || die