summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2007-05-12 18:05:51 +0200
committerThomas Bächler <thomas@archlinux.org>2007-05-12 18:05:51 +0200
commit00e2615161b589f10d37001feab07ff8fc3d31ca (patch)
treeda0b40a70c317ff0a87374fd08ea32fcab4c9737 /install
parentc1c12f540ffbce793d94a191bc378c08a7258c4e (diff)
downloadmkinitcpio-00e2615161b589f10d37001feab07ff8fc3d31ca.tar.gz
mkinitcpio-00e2615161b589f10d37001feab07ff8fc3d31ca.tar.xz
- fix a bug with BINARIES= (also accept shared objects, not only executables)
- fix some bugs introduced by phrakture (could you be more careful?) git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@204 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install')
-rw-r--r--install/base7
1 files changed, 6 insertions, 1 deletions
diff --git a/install/base b/install/base
index 78fbc1d..d1fc19b 100644
--- a/install/base
+++ b/install/base
@@ -15,7 +15,12 @@ install ()
done
for f in /usr/lib/klibc/bin/*; do
- add_file $f /bin/$(basename $f)
+ if [ "$(basename $f)" = "modprobe" ]; then
+ # force putting modprobe in /sbin
+ add_file $f /sbin/$(basename $f)
+ else
+ add_file $f /bin/$(basename $f)
+ fi
done
add_file "/lib/initcpio/init" "/init"