diff options
author | Thomas Bächler <thomas@archlinux.org> | 2007-10-31 09:56:56 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2007-10-31 09:56:56 +0100 |
commit | 9649a241a49ebe83007b8f308afe4df4934aaa0b (patch) | |
tree | 0981324d10b4c7a2a08f4692b8b5380fe4d1ef5c /install/base | |
parent | 3fce4e1e1c8aa3c3d53836f89cf5c6253796f5e6 (diff) | |
download | mkinitcpio-9649a241a49ebe83007b8f308afe4df4934aaa0b.tar.gz mkinitcpio-9649a241a49ebe83007b8f308afe4df4934aaa0b.tar.xz |
Prepare base hook for klibc-module-init-tools
Diffstat (limited to 'install/base')
-rw-r--r-- | install/base | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/install/base b/install/base index b601eac..dc75917 100644 --- a/install/base +++ b/install/base @@ -15,15 +15,13 @@ install () done for f in /usr/lib/klibc/bin/*; do - if [ "$(basename $f)" = "modprobe" ]; then - # force putting modprobe in /sbin - # add symlink for compatibility - add_file $f /sbin/$(basename $f) - add_symlink2 /bin/modprobe /sbin/modprobe - else - add_file $f /bin/$(basename $f) - fi + 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_file "/lib/initcpio/init" "/init" add_file "${CONFIG}" "/config" |