diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-04-01 14:43:35 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-04-01 14:43:35 +0000 |
commit | 474e85059232a032e99ec74c4bea8917bce3c00f (patch) | |
tree | b7e6ab80cd802ddae43a001ba13a6145b109406c | |
parent | 2dabb6ee7b3a4e2100ae1905c04b4a28b18b246a (diff) | |
download | definitions-474e85059232a032e99ec74c4bea8917bce3c00f.tar.gz |
Create symlinks in /sbin instead /bin for compatibility with Module-Init-Tool
Module-Init-Tool is the package that previously handled Linux kernel modules
which seems that install the tools in /sbin.
This will fix error when try to modprobe kernel modules in cinder
using hardcoded `/sbin/modprobe` commands.
-rw-r--r-- | strata/foundation/kmod.morph | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/strata/foundation/kmod.morph b/strata/foundation/kmod.morph index 7a72d257..ec085f21 100644 --- a/strata/foundation/kmod.morph +++ b/strata/foundation/kmod.morph @@ -11,9 +11,9 @@ build-commands: - make install-commands: - make DESTDIR="$DESTDIR" pkgconfigdir=/usr/lib/pkgconfig install -- ln -s kmod "$DESTDIR"/bin/modprobe -- ln -s kmod "$DESTDIR"/bin/lsmod -- ln -s kmod "$DESTDIR"/bin/rmmod -- ln -s kmod "$DESTDIR"/bin/insmod -- ln -s kmod "$DESTDIR"/bin/modinfo -- ln -s kmod "$DESTDIR"/bin/depmod +- ln -s kmod "$DESTDIR"/sbin/modprobe +- ln -s kmod "$DESTDIR"/sbin/lsmod +- ln -s kmod "$DESTDIR"/sbin/rmmod +- ln -s kmod "$DESTDIR"/sbin/insmod +- ln -s kmod "$DESTDIR"/sbin/modinfo +- ln -s kmod "$DESTDIR"/sbin/depmod |