platform_system_core/rootdir
Nikita Ioffe a462044ac8 Explicitly call restorecon_recursive on /metadata/apex
On some devices we see a weird in which /metadata/apex will have a wrong
selinux label. This will effectively prevent such devices from getting
any apex updates. Since we haven't figured out a root cause for this
bug, it's safer to explicitly call restorecon on /metadata/apex to make
sure it's correct.

This change shouldn't affect a normal boot flow, since /metadata/apex
will already have a correct label and restorecon_recursive will be a
no-op.

Test: rm -Rf /metadata/apex && \
    mkdir /metadata/apex &&
    mkdir /metadata/apex/sessions
Bug: 149317789
Merged-In: I971ffe35c93bb79d9e71106c24515ec0ee70333a
Change-Id: I971ffe35c93bb79d9e71106c24515ec0ee70333a
(cherry picked from commit cf7b6bad55)
2020-06-24 16:30:03 +01:00
..
avb Adding new GSI public keys 2020-02-19 08:50:26 +00:00
etc Add libnativehelper.so to public libraries 2020-04-29 17:48:40 +01:00
adb_debug.prop Adding adb_debug.prop into debug ramdisk 2019-04-23 11:13:46 +08:00
Android.bp Move init and ueventd scripts from / to /system/etc 2019-11-08 10:15:49 -08:00
Android.mk Merge "Set Clang coverage environment variables." 2020-01-22 22:34:35 +00:00
asan.options
asan_extract.rc
asan_extract.sh
init-debug.rc
init.environ.rc.in Set Clang coverage environment variables. 2020-01-13 14:38:15 -08:00
init.rc Explicitly call restorecon_recursive on /metadata/apex 2020-06-24 16:30:03 +01:00
init.usb.configfs.rc
init.usb.rc Don't reset sys.usb.configfs during userspace reboot 2020-01-31 15:59:19 +00:00
init.zygote32.rc Remove references to /sys/android_power/* 2019-10-01 13:30:41 -07:00
init.zygote64.rc Remove references to /sys/android_power/* 2019-10-01 13:30:41 -07:00
init.zygote64_32.rc Remove references to /sys/android_power/* 2019-10-01 13:30:41 -07:00
OWNERS
ueventd.rc ueventd: duplicate /dev/ashmem 2019-09-25 12:49:38 -07:00