diff options
author | Jon Ander Hernandez <jonan.h@gmail.com> | 2012-04-10 15:14:38 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-04-16 14:46:53 +0200 |
commit | c9143a63fef0d6f2dfd7cc37b09fc68d744d900f (patch) | |
tree | 29a836ee538787c08ecc77dbf21428e196cebc84 /modules.d/90dm | |
parent | 6625b74e90a0b6918c90c408215e76719e459883 (diff) | |
download | dracut-c9143a63fef0d6f2dfd7cc37b09fc68d744d900f.tar.gz dracut-c9143a63fef0d6f2dfd7cc37b09fc68d744d900f.tar.bz2 dracut-c9143a63fef0d6f2dfd7cc37b09fc68d744d900f.zip |
Debian multiarch support
Another solution could be searching in directories found at
/etc/ld.so.conf.d/*.conf or adding a new parameter. Here is a patch
which adds a new --libdirs parameter, and also a new inst_libdir_file
function which will try to expand metacharacters on each lib
directory:
inst_libdir_file "libdevmapper-event-lvm*.so"
Diffstat (limited to 'modules.d/90dm')
-rwxr-xr-x | modules.d/90dm/module-setup.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules.d/90dm/module-setup.sh b/modules.d/90dm/module-setup.sh index a55d5917..bac854af 100755 --- a/modules.d/90dm/module-setup.sh +++ b/modules.d/90dm/module-setup.sh @@ -22,9 +22,7 @@ install() { type -P dmeventd >/dev/null && dracut_install dmeventd - for _i in {"$libdir","$usrlibdir"}/libdevmapper-event.so*; do - [ -e "$_i" ] && dracut_install "$_i" - done + inst_libdir_file "libdevmapper-event.so*" inst_rules 10-dm.rules 13-dm-disk.rules 95-dm-notify.rules # Gentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install above rules |