walleye: define product as A/B partitions

This is done to distribute the system space more evenly thanks to product partitions.
This commit is contained in:
JarlPenguin
2022-03-25 10:13:44 -07:00
committed by Asriadi Rahim
parent b8931cc9fb
commit d83e3aaa9a
3 changed files with 5 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ extern "C" {
"cmnlib64", "devcfg", "dtbo", "hosd", "hyp", "laf", "keymaster", \
"lockbooter", "msadp", "pmic", "rpm", "storsec", \
"trusty", "tz", "vbmeta"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem", "product"
#define BOOT_DEV_DIR "/dev/block/bootdevice/by-name"
/******************************************************************************

View File

@@ -4,6 +4,8 @@
/dev/block/bootdevice/by-name/vendor_a
/dev/block/bootdevice/by-name/vendor_b
/dev/block/bootdevice/by-name/userdata
/dev/block/bootdevice/by-name/product_a
/dev/block/bootdevice/by-name/product_b
# Wipe the boot partitions last so that all partitions will be wiped
# correctly even if the wiping process gets interrupted by a force boot.
/dev/block/bootdevice/by-name/boot_a

View File

@@ -51,4 +51,5 @@ AB_OTA_PARTITIONS += \
system \
vbmeta \
dtbo \
vendor
vendor \
product