]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
chore: rd_DM_UUID is deprecated
authorJo Zzsi <jozzsicsataban@gmail.com>
Mon, 26 Aug 2024 19:30:56 +0000 (15:30 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Fri, 30 Aug 2024 11:29:16 +0000 (07:29 -0400)
man/dracut.cmdline.7.asc
modules.d/90dmraid/dmraid.sh
modules.d/90dmraid/parse-dm.sh

index b7c556a970f4baf28574821f01b68868d744558a..4c969a08d7f41487eae70f29681fa472fd3ca9c2 100644 (file)
@@ -1399,8 +1399,6 @@ rdinitdebug rdnetdebug:: rd.debug
 
 rd_NO_DM:: rd.dm=0
 
-rd_DM_UUID:: rd.dm.uuid
-
 rdblacklist:: rd.driver.blacklist
 
 rdinsmodpost:: rd.driver.post
index c12d92e389910db6fd06309885f7af4c27ae00ae..b22a7cd0d1d44211c28f3c7b4053c9fcf8c88b67 100755 (executable)
@@ -8,7 +8,7 @@ devenc=$(str_replace "$1" '/' '\2f')
 
 : > /tmp/dmraid."$devenc"
 
-DM_RAIDS=$(getargs rd.dm.uuid -d rd_DM_UUID=)
+DM_RAIDS=$(getargs rd.dm.uuid)
 
 if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then
     # run dmraid if udev has settled
index d7a6b69628ec971fd0515569072821dbbe88e156..6758a5f74cfd2bf9bafcd6791e76f36f5ce5dd27 100755 (executable)
@@ -20,7 +20,7 @@ if ! command -v mdadm > /dev/null \
     udevproperty rd_NO_MDDDF=1
 fi
 
-DM_RAIDS=$(getargs rd.dm.uuid -d rd_DM_UUID=)
+DM_RAIDS=$(getargs rd.dm.uuid)
 
 if [ -z "$DM_RAIDS" ] && ! getargbool 0 rd.auto; then
     udevproperty rd_NO_DM=1