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 11:25:42 +0000
commit2e7710f756c4a95039324019c4c0f004405bd8c6 (patch)
tree8b0128f46c3b786dc344dd2aca6e661a652829fc
parent58b76ca9978e5a40d0f2be633698d62704a54fc1 (diff)
downloadsystem-plugin-2e7710f756c4a95039324019c4c0f004405bd8c6.tar.gz
system-plugin-2e7710f756c4a95039324019c4c0f004405bd8c6.tar.bz2
system-plugin-2e7710f756c4a95039324019c4c0f004405bd8c6.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" ]