diff options
author | Dario Freni <dariofreni@google.com> | 2018-05-25 16:07:19 +0100 |
---|---|---|
committer | Dario Freni <dariofreni@google.com> | 2018-08-01 00:08:52 +0100 |
commit | c7ea1afe90ac2524c7468caa9f5a0cb19d538560 (patch) | |
tree | 4524ae6411678799a9bf0a0ce86c155fd8f9ce1e /fastboot/fastboot.cpp | |
parent | d5f825c78bc98027a485d8bdecd14e8563a449ba (diff) |
Add product-services.img for `fastboot flashall`.
This CL is largely and adaptation of
Ifd119650dd3316508870df0dfc770099e95ae1d1
Bug: 80741439
Test: Successfully built product-services.img with one module in it, and
flashed on device. Also successfully built image with
/system/product-services and no dedicated /product-services partition.
Change-Id: I204a831e052d018018ab124d70ad1ff1610ee007
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r-- | fastboot/fastboot.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 263ea1780..c830321a8 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -114,20 +114,25 @@ static struct { bool is_optional; bool is_secondary; } images[] = { - // clang-format off + // clang-format off { "boot", "boot.img", "boot.sig", "boot", false, false }, { nullptr, "boot_other.img", "boot.sig", "boot", true, true }, { "dtbo", "dtbo.img", "dtbo.sig", "dtbo", true, false }, { "dts", "dt.img", "dt.sig", "dts", true, false }, { "odm", "odm.img", "odm.sig", "odm", true, false }, { "product", "product.img", "product.sig", "product", true, false }, + { "product-services", + "product-services.img", + "product-services.sig", + "product-services", + true, false }, { "recovery", "recovery.img", "recovery.sig", "recovery", true, false }, { "system", "system.img", "system.sig", "system", false, false }, { nullptr, "system_other.img", "system.sig", "system", true, true }, { "vbmeta", "vbmeta.img", "vbmeta.sig", "vbmeta", true, false }, { "vendor", "vendor.img", "vendor.sig", "vendor", true, false }, { nullptr, "vendor_other.img", "vendor.sig", "vendor", true, true }, - // clang-format on + // clang-format on }; static std::string find_item_given_name(const char* img_name) { |