summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2020-01-21 18:53:16 +0900
committerINSUN PYO <insun.pyo@samsung.com>2020-01-21 18:53:19 +0900
commit5c72fdc416e2d4de6d7f6f7d70cc0da13fe49cf6 (patch)
tree8b0128f46c3b786dc344dd2aca6e661a652829fc
parent23d56340be7545e88c97dcaa8d598e6db1d98bc5 (diff)
downloadsystem-plugin-5c72fdc416e2d4de6d7f6f7d70cc0da13fe49cf6.tar.gz
system-plugin-5c72fdc416e2d4de6d7f6f7d70cc0da13fe49cf6.tar.bz2
system-plugin-5c72fdc416e2d4de6d7f6f7d70cc0da13fe49cf6.zip
Emulator will use init.wrapper from now on because of removing systemd-remount-fs.service. Change-Id: I86e36e84b12bb457cd92e0583fc496e94467f9af
-rw-r--r--scripts/init.wrapper8
1 files changed, 8 insertions, 0 deletions
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" ]