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

Commit 8df3a4a5 authored by Brian Swetland's avatar Brian Swetland Committed by Android Git Automerger
Browse files

am 4012c0a4: Merge "remount / as read-only only on post-fs to allow per-target...

am 4012c0a4: Merge "remount / as read-only only on post-fs to allow per-target config of /" into gingerbread

Merge commit '4012c0a4' into gingerbread-plus-aosp

* commit '4012c0a4':
  remount / as read-only only on post-fs to allow per-target config of /
parents 1f43492e 4012c0a4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -58,8 +58,6 @@ loglevel 3
    mkdir /mnt/obb 0700 root system
    mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000

    mount rootfs rootfs / ro remount

    write /proc/sys/kernel/panic_on_oops 1
    write /proc/sys/kernel/hung_task_timeout_secs 0
    write /proc/cpu/alignment 4
@@ -96,6 +94,9 @@ on fs
    mount yaffs2 mtd@cache /cache nosuid nodev

on post-fs
    # once everything is setup, no need to modify /
    mount rootfs rootfs / ro remount

    # We chown/chmod /data again so because mount is run as root + defaults
    chown system system /data
    chmod 0771 /data