From: devsk Date: Tue, 11 Jan 2011 12:20:40 +0000 (+0100) Subject: Pick first device when several devices are matching real_root (bug #303531) X-Git-Tag: v3.4.11~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e590a493ead9a21e356215b5394172717b0f615d;p=genkernel.git Pick first device when several devices are matching real_root (bug #303531) --- diff --git a/defaults/linuxrc b/defaults/linuxrc index adaab62..1fc733b 100755 --- 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