Modify init.wrapper for emulator 11/222911/1 accepted/tizen/unified/20200123.005129 submit/tizen/20200122.034316
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 21 Jan 2020 09:53:16 +0000 (18:53 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Tue, 21 Jan 2020 09:53:19 +0000 (18:53 +0900)
Emulator will use init.wrapper from now on because of removing systemd-remount-fs.service.

Change-Id: I86e36e84b12bb457cd92e0583fc496e94467f9af

scripts/init.wrapper

index 2429d94..cfdcd74 100644 (file)
@@ -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" ]