gs101: use omni AB postinstall script
Change-Id: Ibdcef72a9218260406bb3f89fa8e20ce3ddafeaf
diff --git a/device-omni.mk b/device-omni.mk
index 87934bc..2ed29e5 100644
--- a/device-omni.mk
+++ b/device-omni.mk
@@ -10,4 +10,14 @@
# EUICC
PRODUCT_PACKAGES += \
- EuiccSupportPixelOverlay
\ No newline at end of file
+ EuiccSupportPixelOverlay
+
+# custom A/B postinstall
+PRODUCT_PACKAGES += \
+ omnipreopt_script
+
+AB_OTA_POSTINSTALL_CONFIG += \
+ RUN_POSTINSTALL_system=true \
+ POSTINSTALL_PATH_system=system/bin/omnipreopt_script \
+ FILESYSTEM_TYPE_system=ext4 \
+ POSTINSTALL_OPTIONAL_system=true