projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e740d2f
)
Fix '[: /dev/md: unknown operand' for LiveCD boots.
author
Tim Yamin
<plasmaroo@gentoo.org>
Thu, 14 Jul 2005 21:49:19 +0000
(21:49 +0000)
committer
Tim Yamin
<plasmaroo@gentoo.org>
Thu, 14 Jul 2005 21:49:19 +0000
(21:49 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@264
67a159dc
-881f-0410-a524-
ba9dfbe2cb84
generic/initrd.scripts
patch
|
blob
|
history
diff --git
a/generic/initrd.scripts
b/generic/initrd.scripts
index 6aa38819cdac4b1a581f2fcf0efbb848809f257e..be1bc72f9f1c1abf5b71d0b7a20889115f3ce726 100644
(file)
--- a/
generic/initrd.scripts
+++ b/
generic/initrd.scripts
@@
-510,6
+510,8
@@
cdupdate() {
}
setup_md_device() {
+ [ -z "${REAL_ROOT}" ] && return # LiveCD
+
if [ `echo ${REAL_ROOT}|sed -e 's#\(/dev/md\)[[:digit:]]\+#\1#'` = "/dev/md" ]
then
good_msg 'Detected real_root as a md device. Setting up the device node...'