logo

make-initrd

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/make-initrd.git
commit: f8ae896aa5463c6e1041032e1c359b6477036ec4
parent 2a5988d2762686d6ae0bce9864eb9e09524bfe7c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 28 Sep 2023 16:23:35 +0200

Move busybox install back to /init

Diffstat:

Minit2++
Mmake-initrd.sh1-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/init b/init @@ -28,6 +28,8 @@ getdev() { set -v +/bin/busybox --install /usr/bin + umask 0077 mount -t proc proc /proc mount -t sysfs sysfs /sys diff --git a/make-initrd.sh b/make-initrd.sh @@ -46,7 +46,6 @@ done cp "${WORKDIR}/init" . || die "copying init" chmod 755 init || die "init chmod" ln bin/mksh bin/sh -bin/busybox --install bin for lib in $(find bin -type f -exec lddtree -l {} + | grep -v bin/ | sort | uniq); do cp "$lib" lib/