summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/base14
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"