blob: 0bad0c59ab5cb3c08d06df1753aec5c485dd534d [file] [log] [blame]
Andreas Gampe99e2b262016-07-09 11:44:12 -07001# When /data is available, look for A/B artifacts for the current slot and move them
2# into the dalvik-cache (relabeling them).
3on 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.
haocheng.zyb53638c2022-10-12 20:45:24 +08008 restorecon_recursive /data/dalvik-cache/arm /data/dalvik-cache/arm64 /data/dalvik-cache/riscv64 /data/dalvik-cache/x86 /data/dalvik-cache/x86_64