Commit graph

3 commits

Author SHA1 Message Date
Yifan Hong
9ba0f7de8c Move VAB properties to vendor.
Bug: 148569015
Test: apply OTA
Change-Id: I926fd1dc861e36c17f27e44a160b2c64db8bd39b
2020-01-29 17:39:42 -08:00
Yifan Hong
04d4c08929 Add e2fsck_ramdisk for VAB devices
e2fsck_ramdisk is critical for VAB devices to boot
after an OTA in case of corruption in metadata partition.

Test: pass
Bug: 147347110
Change-Id: I44ce456c11961ec978dcb4e68c32d72c1fab0c4d
2020-01-23 13:21:09 -08:00
Yifan Hong
7d37b40c6e Add virtual A/B product.
- Add PRODUCT_VIRTUAL_AB_OTA(_RETROFIT)
- Set ro.virtual_ab.{enabled,retrofit} respectively.

A device will do the following to enable virtual a/b or retrofit:

$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota_retrofit.mk)

Bug: 135752105
Test: build with device with flag set
Change-Id: I6cb1207aef3ddcc40e215e20589abf995ec81aac
2019-08-07 18:31:33 -07:00