diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2021-02-19 14:08:55 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2021-02-24 06:41:44 +0000 |
commit | a5420ffa050fa9a3182a2f8464df124dc28c44d2 (patch) | |
tree | afe815b8830a8e368a9ee33587e402bc2b24f24f | |
parent | 0068f8cfaf7e7a390ff7508fe7f6d49793872c68 (diff) | |
download | emulator-kernel-a5420ffa050fa9a3182a2f8464df124dc28c44d2.tar.gz emulator-kernel-a5420ffa050fa9a3182a2f8464df124dc28c44d2.tar.bz2 emulator-kernel-a5420ffa050fa9a3182a2f8464df124dc28c44d2.zip |
tizen: change mount option of root partion from RW to RO
Change-Id: I60547b43b41a9f9c17673fd8d903357f5dcd8855
-rw-r--r-- | ramfs/init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ramfs/init b/ramfs/init index 593cd04d3045..a8f52a29984f 100644 --- a/ramfs/init +++ b/ramfs/init @@ -111,4 +111,6 @@ fi /bin/busybox mkdir -p $NEW_ROOT/sys /bin/busybox mount -t sysfs sys $NEW_ROOT/sys +/bin/busybox mount -o remount,ro $NEW_ROOT + exec /bin/busybox switch_root -c /dev/console $NEW_ROOT $INIT |