diff options
author | Vojtech Bocek <vbocek@gmail.com> | 2015-03-08 16:32:41 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-04-26 09:12:30 -0700 |
commit | 85c910ab0b8a2082c46495a4645041eecd41776f (patch) | |
tree | f582f610117a82d084cd9acc2448c3368c6b4992 /etc/init.rc | |
parent | 862a8e1466f3511f763d8c939cd56d5dd4c5e38c (diff) | |
download | bootable_recovery-85c910ab0b8a2082c46495a4645041eecd41776f.zip bootable_recovery-85c910ab0b8a2082c46495a4645041eecd41776f.tar.gz bootable_recovery-85c910ab0b8a2082c46495a4645041eecd41776f.tar.bz2 |
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>
Diffstat (limited to 'etc/init.rc')
-rw-r--r-- | etc/init.rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc index e070438..41570fb 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -45,6 +45,8 @@ on init write /proc/sys/vm/max_map_count 1000000 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 |