]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
chore(multipath): remove `rd_NO_MULTIPATH` kernel command line option
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 3 Mar 2025 14:22:14 +0000 (15:22 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 13 Apr 2025 01:39:16 +0000 (21:39 -0400)
Deprecated since 778b3543609d8c9d32df7111229f4072d00d02f0 (Nov 25, 2014).

man/dracut.cmdline.7.adoc
modules.d/90multipath/multipathd.service
modules.d/90multipath/multipathd.sh

index 94ab39da6d2c9a52b8d15700dc1843ea0fb95253..86220625194a486b247ed624cb65c55031bf9024 100644 (file)
@@ -1414,8 +1414,6 @@ rd_NO_MD:: rd.md=0
 
 rd_MD_UUID:: rd.md.uuid
 
-rd_NO_MULTIPATH: rd.multipath=0
-
 iscsi_initiator:: rd.iscsi.initiator
 
 iscsi_target_name:: rd.iscsi.target.name
index 1680cdfb34a56bc288299b9bff7981642ed88e95..3248fa972245c8b56f702736dc01057d20741a47 100644 (file)
@@ -11,7 +11,6 @@ Conflicts=shutdown.target
 Conflicts=initrd-cleanup.service
 ConditionKernelCommandLine=!nompath
 ConditionKernelCommandLine=!rd.multipath=0
-ConditionKernelCommandLine=!rd_NO_MULTIPATH
 ConditionKernelCommandLine=!multipath=off
 ConditionVirtualization=!container
 
index e17fd92103707448b36503aa3028ad3cb50a96b1..68bd038308fe7894e5f6c725bacf39e8a345244a 100755 (executable)
@@ -8,7 +8,7 @@ if [ "$(getarg rd.multipath)" = "default" ] && [ ! -e /etc/multipath.conf ]; the
     mpathconf --enable
 fi
 
-if getargbool 1 rd.multipath -d -n rd_NO_MULTIPATH && [ -e /etc/multipath.conf ]; then
+if getargbool 1 rd.multipath && [ -e /etc/multipath.conf ]; then
     modprobe dm-multipath
     multipathd -B || multipathd
     need_shutdown