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-11-24 14:39:03 +0800
commitfa8bd0fb060527f6a8b1bf855356df207e250160 (patch)
tree55c02525b294fe0386a8482e988959058fee0d12
parentc3110ac747d18d88f97d2788931cf4de396f5c71 (diff)
downloadcommon-android12L-dev.tar.gz
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 Merged-In: I37ef02628b8635e88a9e8ef917da71c8957c4be1 (cherry picked from commit c329a3a362bdbbc4ebe1123b1d9e835ed68a4b7d)
-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