Allow vbmeta_system to be OTA'd

This CL adds vbmeta_system to the list AB_OTA_PARTITIONS.

Bug: 121997362
Bug: 130337990
Bug: 137153285
Test: python $TOP/system/update_engine/scripts/update_device.py
<ota-img.zip>
Signed-off-by: Hridya Valsaraju <hridya@google.com>
Signed-off-by: Randall Huang <huangrandall@google.com>
Signed-off-by: Leo Liou <leoliou@google.com>
Change-Id: I3142c62125addf49d43b67f328969ad55f924aec
This commit is contained in:
Randall Huang
2019-07-02 16:26:43 +08:00
committed by Leo Liou
parent 170a33302e
commit 75d5e40890
2 changed files with 4 additions and 2 deletions

View File

@@ -66,7 +66,8 @@ AB_OTA_PARTITIONS += \
system \
vbmeta \
dtbo \
product
product \
vbmeta_system
# Partitions (listed in the file) to be wiped under recovery.
TARGET_RECOVERY_WIPE := device/google/redbull/recovery.wipe

View File

@@ -82,7 +82,8 @@ extern "C" {
#define PTN_SWAP_LIST PTN_XBL, \
"abl", "aop", "devcfg", \
"dtbo", "hyp", "keymaster", "qupfw", "tz", \
"uefisecapp", "vbmeta", "xbl_config", "featenabler"
"uefisecapp", "vbmeta", "vbmeta_system", "xbl_config", \
"featenabler"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem", "product"
#define BOOT_DEV_DIR "/dev/block/bootdevice/by-name"