otapreopt.rc 587 B

12345678
  1. # When /data is available, look for A/B artifacts for the current slot and move them
  2. # into the dalvik-cache (relabeling them).
  3. on post-fs-data
  4. exec - root -- /system/bin/otapreopt_slot
  5. # The dalvik-cache was not moved itself, so as to restrict the rights of otapreopt_slot.
  6. # But now the relabeling is annoying as there is no force option available here. So
  7. # explicitly list all the ISAs we know.
  8. restorecon_recursive /data/dalvik-cache/arm /data/dalvik-cache/arm64 /data/dalvik-cache/mips /data/dalvik-cache/mips64 /data/dalvik-cache/x86 /data/dalvik-cache/x86_64