tizen: change mount option of root partion from RW to RO 85/253885/3
authorINSUN PYO <insun.pyo@samsung.com>
Fri, 19 Feb 2021 05:08:55 +0000 (14:08 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 22 Feb 2021 04:00:15 +0000 (04:00 +0000)
Change-Id: I60547b43b41a9f9c17673fd8d903357f5dcd8855

ramfs/init

index 593cd04..a8f52a2 100644 (file)
@@ -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