mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 11:23:43 +00:00
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:
committed by
Asriadi Rahim
parent
b8931cc9fb
commit
d83e3aaa9a
@@ -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"
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -51,4 +51,5 @@ AB_OTA_PARTITIONS += \
|
||||
system \
|
||||
vbmeta \
|
||||
dtbo \
|
||||
vendor
|
||||
vendor \
|
||||
product
|
||||
|
||||
Reference in New Issue
Block a user