From f7b8a6f0fda9133b1c9f0c8a6ee95188670a819b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 16 Nov 2011 18:30:28 +1100 Subject: busybox: create symlinks manually This means that no "setup" of the initramfs is requried on boot, and this should make testing a lot eaiser by just chrooting into the ramfs to check if it works. Signed-off-by: Tom Gundersen --- init | 2 -- install/base | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/init b/init index 7ddd60f..f769708 100644 --- a/init +++ b/init @@ -1,8 +1,6 @@ #!/usr/bin/ash PATH=/usr/bin -/bin/busybox --install -s - . /init_functions mount -t proc proc /proc -o nosuid,noexec,nodev diff --git a/install/base b/install/base index 8232160..3366c38 100644 --- a/install/base +++ b/install/base @@ -10,6 +10,11 @@ build() { add_symlink /usr/sbin bin add_binary /lib/initcpio/busybox /bin/busybox + + for applet in $(/lib/initcpio/busybox --list); do + add_symlink "/usr/bin/$applet" busybox + done + add_binary /sbin/modprobe add_binary /sbin/blkid add_binary /bin/mount -- cgit v1.2.3-24-g4f1b