projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a7012c
)
Pick first device when several devices are matching real_root (bug #303531)
author
devsk
<funtoos@yahoo.com>
Tue, 11 Jan 2011 12:20:40 +0000
(13:20 +0100)
committer
Sebastian Pipping
<sebastian@pipping.org>
Tue, 11 Jan 2011 12:24:21 +0000
(13:24 +0100)
defaults/linuxrc
patch
|
blob
|
history
diff --git
a/defaults/linuxrc
b/defaults/linuxrc
index adaab62cb725657ccf04063350ce5dd0147f2ed1..1fc733b152489ff937606dc392029b7c230c1cd3 100755
(executable)
--- a/
defaults/linuxrc
+++ b/
defaults/linuxrc
@@
-436,7
+436,7
@@
do
fi
if [ ${retval} -ne 0 ]; then
- ROOT_DEV=`blkid -t "${REAL_ROOT}" | cut -d ":" -f 1 2>/dev/null`
+ ROOT_DEV=`blkid -
l -
t "${REAL_ROOT}" | cut -d ":" -f 1 2>/dev/null`
retval=$?
fi