Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 966d093b authored by Vojtech Bocek's avatar Vojtech Bocek Committed by Steve Kondik
Browse files

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: default avatarVojtech Bocek <vbocek@gmail.com>
parent c664a119
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -48,6 +48,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