Revert "Add modules partition"

Revert submission 1413808-modules_partition

Reason for revert: modules partition no longer needed
Reverted Changes:
Iceafebd85:Add modules partition
I2fa96199a:rootdir: Add modules directory
Ie397b9ec6:Add modules partition.
I4200d0cf5:fastboot: add modules partition

Bug: 163543381

Change-Id: I613d4efa346b217e0131b14424bc340ad643e1d6
This commit is contained in:
Yifan Hong 2020-09-15 19:07:39 +00:00
parent 648d956cc0
commit 38a901df56
3 changed files with 0 additions and 11 deletions

View file

@ -23,5 +23,4 @@
shell_test_data_file
sysfs_devices_cs_etm
update_engine_stable_service
updateable_module_file
userspace_reboot_metadata_file))

View file

@ -478,13 +478,6 @@
#
/(odm_dlkm|vendor/odm_dlkm|system/vendor/odm_dlkm)(/.*)? u:object_r:vendor_file:s0
#############################
# Modules files
# This includes updateable modules (including APEXes and APKs) that are stored
# in the modules partition.
#
/modules(/.*)? u:object_r:updateable_module_file:s0
#############################
# Vendor files from /(product|system/product)/vendor_overlay
#

View file

@ -532,9 +532,6 @@ type hwservice_contexts_file, system_file_type, file_type;
# vndservice_contexts file
type vndservice_contexts_file, file_type;
# /modules for updateable modules
type updateable_module_file, file_type;
# Allow files to be created in their appropriate filesystems.
allow fs_type self:filesystem associate;
allow cgroup tmpfs:filesystem associate;