summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-09-17 17:32:54 -0700
committerDavid Anderson <dvander@google.com>2018-09-17 17:34:22 -0700
commit1109c92beabbb95f69f6aca991177af39f1078ef (patch)
tree5540050d1f84a9ab69c26f88295ad464f6907d3c /fastboot/fastboot.cpp
parent6d899718efa5ca4824afc79019a843493fa49c6e (diff)
fastboot: Add vbmeta_mainline to the partition list.
Bug: 115939310 Test: fastboot flash vbmeta_mainline works fastboot flashall includes vbmeta_mainline Change-Id: I081660cd8437ac66cab750b270f5019230050285
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r--fastboot/fastboot.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 817afd026..8e6c125c2 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -148,6 +148,11 @@ static Image images[] = {
{ nullptr, "system_other.img", "system.sig", "system", true, ImageType::Normal },
{ "userdata", "userdata.img", "userdata.sig", "userdata", true, ImageType::Extra },
{ "vbmeta", "vbmeta.img", "vbmeta.sig", "vbmeta", true, ImageType::BootCritical },
+ { "vbmeta_mainline",
+ "vbmeta_mainline.img",
+ "vbmeta_mainline.sig",
+ "vbmeta_mainline",
+ true, ImageType::BootCritical },
{ "vendor", "vendor.img", "vendor.sig", "vendor", true, ImageType::Normal },
{ nullptr, "vendor_other.img", "vendor.sig", "vendor", true, ImageType::Normal },
// clang-format on