fix(mdraid): remove dependency statements

mdadm 4.1 was released 2 years ago so it's safe to assume
that everyone are on 4.1.X branch now...
master
Jóhann B. Guðmundsson 2021-05-03 10:16:17 +00:00 committed by Harald Hoyer
parent 12bef83cda
commit 86b756346a
3 changed files with 0 additions and 16 deletions

View File

@ -1,4 +0,0 @@
#!/bin/sh

info "rd.md.ddf=0: no MD RAID for SNIA ddf raids"
udevproperty rd_NO_MDDDF=1

View File

@ -1,4 +0,0 @@
#!/bin/sh

info "rd.md.imsm=0: no MD RAID for imsm/isw raids"
udevproperty rd_NO_MDIMSM=1

View File

@ -98,14 +98,6 @@ install() {
inst_rules "$moddir/59-persistent-storage-md.rules"
prepare_udev_rules 59-persistent-storage-md.rules

# guard against pre-3.0 mdadm versions, that can't handle containers
if ! mdadm -Q -e imsm /dev/null > /dev/null 2>&1; then
inst_hook pre-trigger 30 "$moddir/md-noimsm.sh"
fi
if ! mdadm -Q -e ddf /dev/null > /dev/null 2>&1; then
inst_hook pre-trigger 30 "$moddir/md-noddf.sh"
fi

if [[ $hostonly ]] || [[ $mdadmconf == "yes" ]]; then
if [[ -f $dracutsysrootdir/etc/mdadm.conf ]]; then
inst -H /etc/mdadm.conf