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

Commit 8d17b05f authored by Justin Yun's avatar Justin Yun
Browse files

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
parent 3c697d59
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -26,6 +26,11 @@ TARGET_2ND_CPU_VARIANT := generic

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

# Build generic A/B format system-only OTA.
+8 −0
Original line number Diff line number Diff line
alanstokes@google.com
bowgotsai@google.com
jbires@google.com
jeffv@google.com
jgalenson@google.com
sspatil@google.com
tomcherry@google.com
trong@google.com
+3 −0
Original line number Diff line number Diff line
# TODO(b/143732851): remove this file when the mainline system image
# no longer need these SoC specific directory
type persist_file, file_type;
+5 −0
Original line number Diff line number Diff line
# 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