summaryrefslogtreecommitdiff
path: root/modules.d/90dm
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-06-27 09:32:22 +0200
committerHarald Hoyer <harald@redhat.com>2012-06-29 12:41:27 +0200
commit53fe81e752c59bf526237ea2a1a3e7879d479c9b (patch)
treec0ac7959467b32c0e66bc13cb14060a2680962ca /modules.d/90dm
parente716c0f121d876b381f9cd9841267959732f975d (diff)
downloaddracut-53fe81e752c59bf526237ea2a1a3e7879d479c9b.tar.gz
dracut-53fe81e752c59bf526237ea2a1a3e7879d479c9b.tar.bz2
dracut-53fe81e752c59bf526237ea2a1a3e7879d479c9b.zip
modules.d/*/module-setup.sh: combine and specify type for installs
To speedup image creation, combine dracut_install calls and specify the exact type. E.g. inst_script instead of the generic inst.
Diffstat (limited to 'modules.d/90dm')
-rwxr-xr-xmodules.d/90dm/module-setup.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules.d/90dm/module-setup.sh b/modules.d/90dm/module-setup.sh
index 4209537e..8bc2ea4f 100755
--- a/modules.d/90dm/module-setup.sh
+++ b/modules.d/90dm/module-setup.sh
@@ -19,9 +19,8 @@ install() {
modinfo -k $kernel dm_mod >/dev/null 2>&1 && \
inst_hook pre-udev 30 "$moddir/dm-pre-udev.sh"
- inst dmsetup
-
- type -P dmeventd >/dev/null && dracut_install dmeventd
+ dracut_install dmsetup
+ dracut_install -o dmeventd
inst_libdir_file "libdevmapper-event.so*"