From 05ec1d470da20637ff29fd3621e7951fcdc8cfd8 Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Sun, 8 Mar 2015 16:32:41 +0100 Subject: 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 --- etc/init.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/init.rc b/etc/init.rc index e8106f391..d0d8ed91b 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -36,6 +36,8 @@ on init 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 -- cgit v1.2.3