logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 6ce7dbc645c60a2e8254d3769dd59b6fb1fda8ba
parent 8f3d286e8bd4a94f057190b459a37431183f3066
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 12 May 2024 15:51:09 +0200

init.sh: Move proper install of utils-std earlier

Diffstat:

Minit.sh13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/init.sh b/init.sh @@ -32,7 +32,7 @@ build_stubs() { done ln -s grep /bin/egrep || die ln -s grep /bin/fgrep || die - ln -s /utils-std-*/cmd/cat /usr/bin/sort || die + ln /utils-std-*/cmd/cat /usr/bin/sort || die } build_bmake() { @@ -162,15 +162,18 @@ chmod +x /bin/hostname build_bmake || die profile_export MAKE="bmake" -build_bzip2 || die -build_zlib_libs || die -build_pigz || die build_hierloom_devtools || die -build_hierloom || die # Needs bmake + m4 build_utils_std || die +build_hierloom || die + +build_bzip2 || die +# Needs /bin/rm +build_zlib_libs || die +build_pigz || die + mkdir -p /usr/share/cacert/ || die mv /cacert-*.pem /usr/share/cacert/cert.pem || die