logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: c6b3ffc2c45fc5cae4fb4a58aad703458b96e44b
parent 6ea00992697cf5a4d6529786fee1936d1b6afd0f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  6 May 2024 01:51:51 +0200

make-root.sh: add o option on tar here as well

Diffstat:

Mmake-root.sh4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/make-root.sh b/make-root.sh @@ -68,7 +68,7 @@ mkdir -p "$out_base" || die "Failed: mkdir $out_base" cd "$out_base" || die "Failed: cd $out_base" for i in $tarballs; do - tar xf "${WORKDIR}/distfiles/$i" || die "Failed extracting $i" + tar xof "${WORKDIR}/distfiles/$i" || die "Failed extracting $i" done rm yacc-1.9.1/yacc || die @@ -102,7 +102,7 @@ cp -p "${WORKDIR}/ar-stub.sh" ./bin/ar for apk in $APKS_main $APKS_testing do - tar xf "${WORKDIR}/distfiles/$apk.${ALPINE_ARCH}" --exclude '.*' + tar xof "${WORKDIR}/distfiles/$apk.${ALPINE_ARCH}" --exclude '.*' done # Allows to shave off ~9.1M from the binary seed rm usr/lib/libc.a