projects
/
platform
/
core
/
system
/
initrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5497f
)
initrd: mount module partition to Read-Only
53/259853/1
author
INSUN PYO
<insun.pyo@samsung.com>
Wed, 16 Jun 2021 02:55:46 +0000
(11:55 +0900)
committer
INSUN PYO
<insun.pyo@samsung.com>
Wed, 16 Jun 2021 02:55:46 +0000
(11:55 +0900)
Change-Id: I93ea5b664a72586c74e6751bb0186202735990d5
scripts/init.sh
patch
|
blob
|
history
diff --git
a/scripts/init.sh
b/scripts/init.sh
index 176ed217a4ec062d18ea8de68a8c7edea27a02e0..a43ff785be5df7d9c582def2bb0a39289e4d6b6e 100755
(executable)
--- a/
scripts/init.sh
+++ b/
scripts/init.sh
@@
-196,7
+196,7
@@
function process_modulesfs
/sbin/resize2fs -f $MODULES
fi
/sbin/fsck -y $MODULES
- /bin/mount $MODULES $MODULES_MNT
+ /bin/mount
-o ro
$MODULES $MODULES_MNT
}