summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2013-11-22 10:42:17 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-11-22 10:42:17 -0800
commitfd1dd864a896bd6233ee8c75b84d9771148dd9b3 (patch)
tree993060780941a52c73fb563af95c03bb86ffef5c
parentbbdfc0c4124d838d16b65ef96cf4285dbe8ae038 (diff)
parent479efb540a198a9b7cd278387b0d45009a05bb2b (diff)
downloadsystem_core-fd1dd864a896bd6233ee8c75b84d9771148dd9b3.zip
system_core-fd1dd864a896bd6233ee8c75b84d9771148dd9b3.tar.gz
system_core-fd1dd864a896bd6233ee8c75b84d9771148dd9b3.tar.bz2
am 479efb54: init.rc: mount pstore fs, set console-ramoops permissions
* commit '479efb540a198a9b7cd278387b0d45009a05bb2b': init.rc: mount pstore fs, set console-ramoops permissions
-rw-r--r--rootdir/init.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 109f15b..3976032 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -139,6 +139,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