From 2e7710f756c4a95039324019c4c0f004405bd8c6 Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Tue, 21 Jan 2020 18:53:16 +0900 Subject: Modify init.wrapper for emulator Emulator will use init.wrapper from now on because of removing systemd-remount-fs.service. Change-Id: I86e36e84b12bb457cd92e0583fc496e94467f9af --- scripts/init.wrapper | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/init.wrapper b/scripts/init.wrapper index 2429d94..cfdcd74 100644 --- a/scripts/init.wrapper +++ b/scripts/init.wrapper @@ -15,6 +15,10 @@ if [ x$ROOTFS = "x" ] then ROOTFS=`/sbin/blkid -t PARTLABEL=rootfs -o device` fi +if [ x$ROOTFS = "x" ] +then + ROOTFS=`/sbin/blkid -t LABEL=emulator-rootfs -o device` +fi MODULES=`/sbin/blkid -L modules` if [ x$MODULES = "x" ] @@ -27,6 +31,10 @@ if [ x$DATAFS = "x" ] then DATAFS=`/sbin/blkid -t PARTLABEL=system-data -o device` fi +if [ x$DATAFS = "x" ] +then + DATAFS=`/sbin/blkid -t LABEL=emulator-sysdata -o device` +fi #Fsck, resize, mount devices if [ x$ROOTFS = "x" ] -- cgit v1.2.3