Add /persist symlink to mainline_arm64

Since /persist is a SoC specfic symlink, it must not be included in
the root directory. For this reason, we already moved the directory
under /mnt/vendor. However, there are still many modules that are
using the old path /persist.
Until we clear all these violations, we need to have the symlink in
the root directory.

Bug: 143732851
Test: build and check boot and basic functions
Change-Id: Iaee28ba29f79f1c286e090f97173e3196d2fc823
This commit is contained in:
Justin Yun 2019-11-04 13:23:43 +09:00
parent 3c697d59fb
commit 8d17b05fe0
4 changed files with 21 additions and 0 deletions

View File

@ -26,6 +26,11 @@ TARGET_2ND_CPU_VARIANT := generic
include build/make/target/board/BoardConfigMainlineCommon.mk include build/make/target/board/BoardConfigMainlineCommon.mk
# TODO(b/143732851): Remove this after replacing /persit with
# /mnt/vendor/persist
BOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist
BOARD_SEPOLICY_DIRS += build/make/target/board/mainline_arm64/sepolicy
TARGET_NO_KERNEL := true TARGET_NO_KERNEL := true
# Build generic A/B format system-only OTA. # Build generic A/B format system-only OTA.

View File

@ -0,0 +1,8 @@
alanstokes@google.com
bowgotsai@google.com
jbires@google.com
jeffv@google.com
jgalenson@google.com
sspatil@google.com
tomcherry@google.com
trong@google.com

View File

@ -0,0 +1,3 @@
# TODO(b/143732851): remove this file when the mainline system image
# no longer need these SoC specific directory
type persist_file, file_type;

View File

@ -0,0 +1,5 @@
# TODO(b/143732851): remove this file when the mainline system image
# no longer need these SoC specific directory
# /persist
/persist(/.*)? u:object_r:persist_file:s0