init.rc: mount pstore fs, set console-ramoops permissions
Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549
This commit is contained in:
parent
e65b7ea880
commit
479efb540a
1 changed files with 5 additions and 0 deletions
|
@ -136,6 +136,11 @@ loglevel 3
|
|||
# checker programs.
|
||||
mkdir /dev/fscklogs 0770 root system
|
||||
|
||||
# pstore/ramoops previous console log
|
||||
mount pstore pstore /sys/fs/pstore
|
||||
chown system log /sys/fs/pstore/console-ramoops
|
||||
chmod 0440 /sys/fs/pstore/console-ramoops
|
||||
|
||||
on post-fs
|
||||
# once everything is setup, no need to modify /
|
||||
mount rootfs rootfs / ro remount
|
||||
|
|
Loading…
Reference in a new issue