Include partition-split selinux_policy modules.
The selinux_policy module has been split in two, so that the system artifacts can be included separately. Also remove associated whitelist entries. Bug: 80410283 Test: for t in eng userdebug user; do lunch mainline_arm64-${t}; m nothing; done Change-Id: Id704c907b1ed31ae49697d33f075c013bc3dfc8c
This commit is contained in:
parent
afb4d4cf8c
commit
56ce36f1b2
|
@ -223,7 +223,7 @@ PRODUCT_PACKAGES += \
|
|||
sdcard \
|
||||
secdiscard \
|
||||
SecureElement \
|
||||
selinux_policy \
|
||||
selinux_policy_system \
|
||||
sensorservice \
|
||||
service \
|
||||
servicemanager \
|
||||
|
|
|
@ -43,6 +43,7 @@ PRODUCT_PACKAGES += \
|
|||
libril \
|
||||
libvisualizer \
|
||||
passwd \
|
||||
selinux_policy_nonsystem \
|
||||
shell_and_utilities_vendor \
|
||||
vndservice \
|
||||
vndservicemanager
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue