diff options
| author | Oleg Matcovschi <omatcovschi@google.com> | 2018-01-16 13:41:15 -0800 |
|---|---|---|
| committer | Joshua Blanchard <joshua.lee.bbg@gmail.com> | 2020-04-19 20:53:39 -0400 |
| commit | a6f8f6d8686d17b0bf001c73f1733ea82f4e40ad (patch) | |
| tree | 601aef487d4f847c7ebd1d2c74f3e4ca5b4560e5 | |
| parent | 184da287714f8de753022d8a45ee36f7078a2a6d (diff) | |
evert: gpt-utils: Align partition swap list
Modify partition swap list to reflect only existing partitions.
Bug: 70214866
Change-Id: I2efe784efa97e3f2960d990a969fc729022a5ceb
| -rw-r--r-- | gpt-utils/gpt-utils.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gpt-utils/gpt-utils.h b/gpt-utils/gpt-utils.h index 8a5f504..269f8cf 100644 --- a/gpt-utils/gpt-utils.h +++ b/gpt-utils/gpt-utils.h @@ -79,8 +79,12 @@ extern "C" { #define AB_SLOT_A_SUFFIX "_a" #define AB_SLOT_B_SUFFIX "_b" #define PTN_XBL "xbl" -#define PTN_SWAP_LIST PTN_XBL, "rpm", "tz", "hyp", "storsec", "devcfg", "keymaster", "cmnlib", "cmnlib64", "prov", "pmic", "abl", "fsg", "vbmeta" -#define AB_PTN_LIST PTN_SWAP_LIST, "modem", "dsp", "bluetooth", "logo", "boot", "system", "oem", "vendor", "dto" +#define PTN_SWAP_LIST PTN_XBL, \ + "abl", "cmnlib", "cmnlib64", "devcfg", \ + "dto", "fsg", "hyp", "keymaster", "pmic", \ + "prov", "rpm", "storsec", "tz", "vbmeta" + +#define AB_PTN_LIST PTN_SWAP_LIST, "bluetooth", "boot", "dsp", "logo", "modem", "oem", "system", "vendor" #define BOOT_DEV_DIR "/dev/block/bootdevice/by-name" /****************************************************************************** |
