Re: PATCH: Do not use dm_resolve_name on dmraid set names (#476818)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks good.

Hans de Goede wrote:
Do not call dm_resolve_name on dmraidsets names, sometimes it fails, and
it is not necessary, this fixes the dmraid boot failure seen on
some systems (#476818)
---
 mkinitrd |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/mkinitrd b/mkinitrd
index 52bebef..6f06084 100755
--- a/mkinitrd
+++ b/mkinitrd
@@ -1212,8 +1212,7 @@ if [ -n "$testdm" \
                 *)
                     for raid in $RAIDS ; do
                         if [ "$raid" == "$NAME" ]; then
-                            dmname=$(resolve_dm_name $NAME)
-                            DMDEVS="$DMDEVS $dmname"
+                            DMDEVS="$DMDEVS $NAME"
                             RAIDS=$(sed 's/ $NAME //' <<< "$RAIDS")
                             break
                         fi


--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux