]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dmraid/mdraid: install "partx"
authorHarald Hoyer <harald@eeepc.(none)>
Tue, 21 Jul 2009 09:31:15 +0000 (11:31 +0200)
committerHarald Hoyer <harald@eeepc.(none)>
Tue, 21 Jul 2009 09:31:15 +0000 (11:31 +0200)
modules.d/90dmraid/install
modules.d/90mdraid/install

index 2cd563a91adb19007d5d914b31aeea90a47e5e7f..c33b16665a6e2ecfe26c84a7bf7928d1eedcd3cd 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-dracut_install dmraid
+dracut_install dmraid partx
 inst "$moddir/dmraid.sh" /sbin/dmraid_scan
 inst_rules 64-md-raid.rules
 inst_rules "$moddir/61-dmraid-imsm.rules"
index 45cf352762a825f18971fce09e3c5f7d576a63fe..2303f5d08ac74e9af986b3e00a1a9127e08180a2 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/bash
-dracut_install mdadm
+
+dracut_install mdadm partx
+
+
 # XXX: mdmon really needs to run as non-root?
 #      If so, write only the user it needs in the initrd's /etc/passwd (and maybe /etc/group)
 #      in a similar fashion to modules.d/95nfs.  Do not copy /etc/passwd and /etc/group from 
@@ -22,7 +25,6 @@ if ! mdadm -Q -e imsm /dev/null &> /dev/null; then
     inst_hook pre-trigger 30 "$moddir/md-noimsm.sh"
 fi
 
-
 if [[ $hostonly ]]; then 
     [ -f /etc/mdadm/mdadm.conf ] && inst /etc/mdadm/mdadm.conf /etc/mdadm.conf
     [ -f /etc/mdadm.conf ] && inst /etc/mdadm.conf