diff --git a/config/common.mk b/config/common.mk index 15748c7ae40a2cb24c47e902e239ccada9c4f1b3..c2547cd06e1a4c4471f167afd3f38036906845f9 100644 --- a/config/common.mk +++ b/config/common.mk @@ -17,3 +17,8 @@ VENDOR_PATH := vendor/eos # Overlays DEVICE_PACKAGE_OVERLAYS += \ $(VENDOR_PATH)/overlay + +# Pre-granted eos-permissions and allowlist +PRODUCT_COPY_FILES += \ + $(VENDOR_PATH)/config/permissions/eos-permissions.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/eos-permissions.xml \ + $(VENDOR_PATH)/config/permissions/eos-allowlist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/eos-allowlist.xml diff --git a/config/permissions/eos-allowlist.xml b/config/permissions/eos-allowlist.xml new file mode 100644 index 0000000000000000000000000000000000000000..8cc1994fc94cfb8ac0bad5d2e4445fbd4acd099c --- /dev/null +++ b/config/permissions/eos-allowlist.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + diff --git a/config/permissions/eos-permissions.xml b/config/permissions/eos-permissions.xml new file mode 100644 index 0000000000000000000000000000000000000000..4c7c6d7b584d13ac5e0cc2d5143ef4605be44497 --- /dev/null +++ b/config/permissions/eos-permissions.xml @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +