aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi-Yo Chiang <yochiang@google.com>2021-09-23 14:14:16 +0000
committerYi-Yo Chiang <yochiang@google.com>2021-09-23 14:25:36 +0000
commit7c26d079be25b25da85a0b4eefd9edcfbcb374d1 (patch)
tree55c02525b294fe0386a8482e988959058fee0d12
parenta172c9e3fbd293d0ee21caa47f13667b38df8c78 (diff)
downloadcommon-7c26d079be25b25da85a0b4eefd9edcfbcb374d1.tar.gz
Reland: Add a copy of debug policy to GSI system image
Bug: 188067818 Test: Flash RQ2A.201207.001 bramble-user with debug ramdisk & flash gsi_arm64-user from master, device can boot and `adb root` works Change-Id: Idc699b2db549464056857a69140c6634f2a8ec3b
-rw-r--r--gsi_system_ext.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsi_system_ext.mk b/gsi_system_ext.mk
index 45ff91f..7a43c5c 100644
--- a/gsi_system_ext.mk
+++ b/gsi_system_ext.mk
@@ -29,3 +29,7 @@ PRODUCT_PACKAGES += \
# telephony packages
PRODUCT_PACKAGES += \
CarrierConfig
+
+# Install a copy of the debug policy in GSI.
+PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT := true
+PRODUCT_PACKAGES += system_ext_userdebug_plat_sepolicy.cil