Power is turned off as soon as /opt/var/.resizefs_done is written.
Rootfs, userfs and module partition does not execute resizefs foreever.
Change-Id: I5eb2ebb3135443ff21cbbaf4944f0a759940e76a
then
NEED_RESIZEFS=0
else
- echo " " > /opt/var/.resizefs_done
/bin/umount /opt
fi
fi
/bin/mount $MODULES /sysroot/usr/lib/modules
fi
+if [ x"$DATAFS" != "x" -a "$NEED_RESIZEFS" = "1" ]
+then
+ echo " " > /sysroot/opt/var/.resizefs_done
+fi
+
cd /sysroot
mkdir -p ./dev ./sys ./proc ./initrd
/sbin/pivot_root . ./initrd