diff --git a/target/product/base_system.mk b/target/product/base_system.mk index a94eecaa5..8eef95e76 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -218,7 +218,7 @@ PRODUCT_PACKAGES += \ screencap \ sdcard \ secdiscard \ - selinux_policy \ + selinux_policy_system \ sensorservice \ service \ servicemanager \ diff --git a/target/product/base_vendor.mk b/target/product/base_vendor.mk index 678b60af2..b6b2450e9 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 651ece640..2e161dbeb 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 \ vendor/lib/mediadrm/libdrmclearkeyplugin.so \ vendor/lib64/mediadrm/libdrmclearkeyplugin.so \