If there is no file system volume label "modules" and it is only
partition label, then booting will be failed because it sets the
partition as rootfs. So this fixes not to use found partition as
rootfs.
Change-Id: Iec3e3d3a3c53fb8a5080c68956a9c4fb621db41b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
MODULES=`/sbin/blkid -L modules`
if [ x$MODULES = "x" ]
then
- ROOTFS=`/sbin/blkid -t PARTLABEL=module -o device`
+ MODULES=`/sbin/blkid -t PARTLABEL=module -o device`
fi
DATAFS=`/sbin/blkid -L system-data`