require kpartx and partx for some modules

This commit is contained in:
Harald Hoyer 2012-07-25 13:00:08 +02:00
parent 68e7661ca7
commit 8a240aca9e
4 changed files with 13 additions and 10 deletions

View File

@ -81,6 +81,7 @@ Requires: gzip xz
Requires: module-init-tools >= 3.7-9
Requires: sed
Requires: file
Requires: kpartx
Requires: udev > 166
%if 0%{?fedora} || 0%{?rhel} > 6
Requires: util-linux >= 2.21

View File

@ -51,7 +51,8 @@ depends() {
install() {
local _i
dracut_install dmraid partx kpartx
dracut_install dmraid
dracut_install -o partx kpartx
inst "$moddir/dmraid.sh" /sbin/dmraid_scan

View File

@ -43,8 +43,8 @@ installkernel() {
}
install() {
dracut_install mdadm partx cat
dracut_install -o mdmon
dracut_install mdadm cat
dracut_install -o mdmon 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)

View File

@ -70,13 +70,14 @@ installkernel() {
install() {
local _f
dracut_install -o \
/sbin/dmsetup \
/sbin/kpartx \
/sbin/mpath_wait \
/sbin/multipath \
/sbin/multipathd \
/sbin/xdrgetuid \
/sbin/xdrgetprio \
dmsetup \
kpartx \
partx \
mpath_wait \
multipath \
multipathd \
xdrgetuid \
xdrgetprio \
/etc/xdrdevices.conf \
/etc/multipath.conf \
/etc/multipath/*