projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270ea1f
)
tizen: change mount option of root partion from RW to RO
85/253885/3
author
INSUN PYO
<insun.pyo@samsung.com>
Fri, 19 Feb 2021 05:08:55 +0000
(14:08 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 22 Feb 2021 04:00:15 +0000
(
04:00
+0000)
Change-Id: I60547b43b41a9f9c17673fd8d903357f5dcd8855
ramfs/init
patch
|
blob
|
history
diff --git
a/ramfs/init
b/ramfs/init
index
593cd04
..
a8f52a2
100644
(file)
--- 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