Skip to content
Snippets Groups Projects
  • Andreas Gampe's avatar
    c9ce12ba
    Sepolicy: allow otapreopt_chroot to mount vendor · c9ce12ba
    Andreas Gampe authored
    (cherry picked from commit ec4b9d67)
    
    Vendor apps are usually not preopted, so A/B dexopt should pick
    them up. update_engine is not mounting the vendor partition, so
    let otapreopt_chroot do the work.
    
    This change gives otapreopt_chroot permission to mount /vendor
    into the chroot environment.
    
    Bug: 25612095
    Bug: 29498238
    Change-Id: I5a77bdb78a8e478ce10f6c1d0f911a8d6686becb
    c9ce12ba
    History
    Sepolicy: allow otapreopt_chroot to mount vendor
    Andreas Gampe authored
    (cherry picked from commit ec4b9d67)
    
    Vendor apps are usually not preopted, so A/B dexopt should pick
    them up. update_engine is not mounting the vendor partition, so
    let otapreopt_chroot do the work.
    
    This change gives otapreopt_chroot permission to mount /vendor
    into the chroot environment.
    
    Bug: 25612095
    Bug: 29498238
    Change-Id: I5a77bdb78a8e478ce10f6c1d0f911a8d6686becb