OSDN Git Service

Mount fstab.postinstall
authorYifan Hong <elsk@google.com>
Wed, 2 Jan 2019 19:50:34 +0000 (11:50 -0800)
committerYifan Hong <elsk@google.com>
Fri, 4 Jan 2019 00:21:22 +0000 (16:21 -0800)
commit7605f8923c19aed45f4f449a478019cb1245c77a
tree9c279058f4a5c62c067aa4fce117c26d4a45b1f2
parent8873b8f86596522c7e40570dfb1c317816b1267d
Mount fstab.postinstall

Instead of using the 'mount' built-in, do a
mount_all /system/etc/fstab.postinstall which mounts
system_other to postinstall properly. This works for
devices with and without dynamic partitions.

- retrofit and non DAP devices mount the physical system_other partition
- launch devices mount the logical system_other partition

Fixes: 113182233
Test: boot the first time and look at cppreopt results
      (on retrofit and launch DAP devices)

Change-Id: I70aef55235a5b8be34a521774c4e9dc8461b84de
cppreopts/Android.bp
cppreopts/cppreopts.rc
cppreopts/fstab.postinstall [new file with mode: 0644]