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