logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: ee302dec1aa5efb7fba44bc71330ca89245dbfca
parent 9be92a864eb3f24422c5768a2956a11d984eb77e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  4 May 2024 16:45:10 +0200

init.sh: Properly install utils-std

Diffstat:

Minit.sh11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/init.sh b/init.sh @@ -98,6 +98,14 @@ build_hierloom() { done } +build_utils_std() { + # Proper install so you get /usr/bin/env + cd /utils-std-*/ + ./configure PREFIX=/usr + bmake + bmake install +} + build_sbase_sed() { cd /sbase-*/ $CC -D_DEFAULT_SOURCE -D_NETBSD_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -Os -o /bin/sed sed.c libutil/*.c libutf/*.c @@ -150,6 +158,9 @@ build_pigz || die build_hierloom_devtools || die build_hierloom || die +# Needs bmake + m4 +build_utils_std || die + cat /proc/uptime echo 'Done bootstrapping!' cd /