diff options
author | Tom Gundersen <teg@jklm.no> | 2011-11-16 08:30:28 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-11-29 11:56:42 +0100 |
commit | f7b8a6f0fda9133b1c9f0c8a6ee95188670a819b (patch) | |
tree | 470f56fb9491a3a082531253f130b1f20a38bce4 /install | |
parent | 5d8fc3c55ee1e766d3955882cbb10e795b541e5a (diff) | |
download | mkinitcpio-f7b8a6f0fda9133b1c9f0c8a6ee95188670a819b.tar.gz mkinitcpio-f7b8a6f0fda9133b1c9f0c8a6ee95188670a819b.tar.xz |
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 <teg@jklm.no>
Diffstat (limited to 'install')
-rw-r--r-- | install/base | 5 |
1 files changed, 5 insertions, 0 deletions
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 |