FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Development

 
 
LinkBack Thread Tools
 
Old 02-03-2009, 12:03 PM
Hans de Goede
 
Default PATCH: Do not use dm_resolve_name on dmraid set names (#476818)

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
--
1.6.1.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-16-2009, 10:22 PM
David Cantrell
 
Default PATCH: Do not use dm_resolve_name on dmraid set names (#476818)

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@redhat.com>
Red Hat / Honolulu, HI

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

Thread Tools




All times are GMT. The time now is 08:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org