Skip to content

Commit

Permalink
fix(mdraid): remove dependency statements
Browse files Browse the repository at this point in the history
mdadm 4.1 was released 2 years ago so it's safe to assume
that everyone are on 4.1.X branch now...
  • Loading branch information
johannbg authored and haraldh committed May 3, 2021
1 parent 12bef83 commit 86b7563
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions modules.d/90mdraid/md-noddf.sh

This file was deleted.

4 changes: 0 additions & 4 deletions modules.d/90mdraid/md-noimsm.sh

This file was deleted.

8 changes: 0 additions & 8 deletions modules.d/90mdraid/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86b7563

Please sign in to comment.