Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65c8f6e9 authored by Nikita Ioffe's avatar Nikita Ioffe Committed by Automerger Merge Worker
Browse files

Merge "Explicitly call restorecon_recursive on /metadata/apex" into rvc-dev am: 6a8602a8

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11955299

Change-Id: I8cfa3d3f92edcadf54bcb919cf1015f33c5861d5
parents bc72c44a 6a8602a8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -517,6 +517,12 @@ on post-fs

    mkdir /metadata/apex 0700 root system
    mkdir /metadata/apex/sessions 0700 root system
    # On some devices we see a weird behaviour in which /metadata/apex doesn't
    # have a correct label. To workaround this bug, explicitly call restorecon
    # on /metadata/apex. For most of the boot sequences /metadata/apex will
    # already have a correct selinux label, meaning that this call will be a
    # no-op.
    restorecon_recursive /metadata/apex

    mkdir /metadata/staged-install 0770 root system
on late-fs