aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi-Yo Chiang <yochiang@google.com>2021-09-17 20:55:31 +0800
committerYi-Yo Chiang <yochiang@google.com>2021-09-17 20:55:31 +0800
commitc329a3a362bdbbc4ebe1123b1d9e835ed68a4b7d (patch)
tree55c02525b294fe0386a8482e988959058fee0d12
parentb9cefd3621df60bdd44ba7b488e6df0365239268 (diff)
downloadcommon-c329a3a362bdbbc4ebe1123b1d9e835ed68a4b7d.tar.gz
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: I37ef02628b8635e88a9e8ef917da71c8957c4be1
-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