diff --git a/target/product/base_system.mk b/target/product/base_system.mk index 91bb3132fd..8b50834f47 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -223,7 +223,7 @@ PRODUCT_PACKAGES += \ sdcard \ secdiscard \ SecureElement \ - selinux_policy \ + selinux_policy_system \ sensorservice \ service \ servicemanager \ diff --git a/target/product/base_vendor.mk b/target/product/base_vendor.mk index 3861bb367e..64b37e70d7 100644 --- a/target/product/base_vendor.mk +++ b/target/product/base_vendor.mk @@ -43,6 +43,7 @@ PRODUCT_PACKAGES += \ libril \ libvisualizer \ passwd \ + selinux_policy_nonsystem \ shell_and_utilities_vendor \ vndservice \ vndservicemanager diff --git a/target/product/mainline_system.mk b/target/product/mainline_system.mk index d4acc6f406..d10fcbc1cd 100644 --- a/target/product/mainline_system.mk +++ b/target/product/mainline_system.mk @@ -21,21 +21,7 @@ PRODUCT_NAME := mainline_system PRODUCT_BRAND := generic PRODUCT_SHIPPING_API_LEVEL := 28 -_selinux_policy_whitelist := \ - vendor/etc/selinux/vndservice_contexts \ - vendor/etc/selinux/plat_pub_versioned.cil \ - vendor/etc/selinux/plat_sepolicy_vers.txt \ - vendor/etc/selinux/precompiled_sepolicy \ - vendor/etc/selinux/precompiled_sepolicy.plat_and_mapping.sha256 \ - vendor/etc/selinux/vendor_file_contexts \ - vendor/etc/selinux/vendor_hwservice_contexts \ - vendor/etc/selinux/vendor_mac_permissions.xml \ - vendor/etc/selinux/vendor_property_contexts \ - vendor/etc/selinux/vendor_seapp_contexts \ - vendor/etc/selinux/vendor_sepolicy.cil \ - _base_mk_whitelist := \ - $(_selinux_policy_whitelist) \ recovery/root/etc/mke2fs.conf \ root/init \ root/init.environ.rc \