projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c24ee9
)
lvm: install lvm mirror and snaphot libs
author
Harald Hoyer
<harald@redhat.com>
Thu, 10 Jun 2010 11:51:40 +0000
(13:51 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 10 Jun 2010 11:51:40 +0000
(13:51 +0200)
modules.d/90lvm/install
patch
|
blob
|
history
diff --git
a/modules.d/90lvm/install
b/modules.d/90lvm/install
index
706c2c2
..
0813486
100755
(executable)
--- a/
modules.d/90lvm/install
+++ b/
modules.d/90lvm/install
@@
-16,3
+16,14
@@
inst_rules 10-dm.rules 13-dm-disk.rules 95-dm-notify.rules 11-dm-lvm.rules
inst "$moddir/lvm_scan.sh" /sbin/lvm_scan
inst_hook cmdline 30 "$moddir/parse-lvm.sh"
+
+
+if ldd $(which lvm) | grep -q lib64; then
+ LIBDIR="/lib64"
+else
+ LIBDIR="/lib"
+fi
+
+for i in $(ls /{usr,}/$LIBDIR/libdevmapper-event-lvm*.so 2>/dev/null); do
+ dracut_install $i
+done