blob: 059ae752e7297f534a56d3df6b6d9752dc86330c [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.
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