mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-28 02:25:18 +03:00
require kpartx and partx for some modules
This commit is contained in:
parent
68e7661ca7
commit
8a240aca9e
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user