commit | 631900e6ce0bb282ce5b738865148e954469ff4a | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Wed May 09 21:57:49 2018 +0800 |
committer | Anton Hansson <hansson@google.com> | Fri Jun 29 14:23:25 2018 +0100 |
tree | a83db33362bf93a012062c3692d1cef6c73ea497 | |
parent | 3613193b311c4494eb508a3bf4f0e527dd23a540 [diff] |
Enable /cache mount point Non-A/B devices using AOSP OTA flow will mount /cache in the fstab file. Without setting BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE, /cache will be a symlink to /data/cache which introduces the failure of `mount_all /vendor/etc/fstab.{ro.hardware}`. This is because all devices laucned in P need to switch to "system-as-root". This CL sets board config to create /cache directory in rootfs (system-as-root GSI image). Note that A/B devices doesn't mount or use /cache so leaving an empty /cache in rootfs has no harm. Bug: 78485405 Test: Boot GSI on walleye Change-Id: Ic260d2917cc64c9497f5f60ea11303e953e80efd Merged-In: Ic260d2917cc64c9497f5f60ea11303e953e80efd
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.