diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-01-05 23:56:23 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-01-05 23:56:23 +0100 |
commit | 9f85179b7fd706ddc9b5386dfae3514f16ca26f9 (patch) | |
tree | 5c22d461eed8831fbb34733b9a8a0d07e21abf94 /install/base | |
parent | 7fd17e6df5e82433759b27811707b6dc0b940835 (diff) | |
download | mkinitcpio-9f85179b7fd706ddc9b5386dfae3514f16ca26f9.tar.gz mkinitcpio-9f85179b7fd706ddc9b5386dfae3514f16ca26f9.tar.xz |
Start moving from klibc to glibc+busybox
Remove klibc-isms from base and init (except kinit, which will be done in a later commit)
Install busybox to the initramfs and change /init so it can be used with busybox
Diffstat (limited to 'install/base')
-rw-r--r-- | install/base | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/install/base b/install/base index 0fdc120..43fc1cb 100644 --- a/install/base +++ b/install/base @@ -5,24 +5,21 @@ install () add_dir "/proc" add_dir "/sys" add_dir "/dev" + add_dir "/bin" + add_dir "/sbin" + add_dir "/lib" + add_dir "/usr" + add_dir "/usr/bin" + add_dir "/usr/lib" + add_dir "/usr/sbin" add_device "/dev/null" c 1 3 add_device "/dev/zero" c 1 5 add_device "/dev/console" c 5 1 add_device "/dev/mem" c 1 1 - for f in $(find /lib -name klibc-*.so); do - add_file ${f} - done - - for f in /usr/lib/klibc/bin/*; do - add_file ${f} /bin/$(basename ${f}) - done - for f in /usr/lib/klibc/sbin/*; do - add_file ${f} /sbin/$(basename ${f}) - done - # add symlink for compatibility - add_symlink2 /bin/modprobe /sbin/modprobe + add_binary /lib/initcpio/busybox /bin/busybox + add_binary /sbin/modprobe add_file "/lib/initcpio/init_functions" "/init_functions" add_file "/lib/initcpio/init" "/init" |