Mount pstore filesystem while in recovery
* pstore filesystem is evolution of ram_console and contains
kmsg from previous boot (previously in /proc/last_kmsg).
* Lollipop init.rc does this. If device doesn't have
pstore fs, it will simply be ignored
Change-Id: Id3bf8763ccde54f87fde5cdf2db511649c376aa4
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
diff --git a/etc/init.rc b/etc/init.rc
index e8106f3..d0d8ed9 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -36,6 +36,8 @@
write /proc/sys/kernel/panic_on_oops 1
on fs
+ mount pstore pstore /sys/fs/pstore
+
mkdir /dev/usb-ffs 0770 shell shell
mkdir /dev/usb-ffs/adb 0770 shell shell
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000