logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/make-initrd.git
commit: 536e2f19ca764abbf233b96795a27e2227d8e6fb
parent 08f473ab6638f721fd87683edb0472340ea1e7b6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  1 May 2024 03:50:11 +0200

init.sh: Add || die after build functions

Diffstat:

Minit.sh15++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/init.sh b/init.sh @@ -101,11 +101,11 @@ ln -s loksh /bin/sh || die "Failed creating /bin/sh symlink" cd /minised-1.16 $CC $CFLAGS sedcomp.c sedexec.c -o /bin/sed -build_awk +build_awk || die # stubs for utilities currently missing from utils-std -build_stubs +build_stubs || die cat >/bin/hostname <<'EOF' #!/bin/sh @@ -114,13 +114,10 @@ EOF chmod +x /bin/hostname -build_bmake - -build_bzip2 - -build_zlib_libs - -build_pigz +build_bmake || die +build_bzip2 || die +build_zlib_libs || die +build_pigz || die cat /proc/uptime echo 'Done bootstrapping!'