Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bc5c852 authored by Vineeta Srivastava's avatar Vineeta Srivastava Committed by Gerrit Code Review
Browse files

Merge "Add vbmeta image support for verified boot"

parents 8aae1b15 20ef9867
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ static struct {
    {"system_other.img", "system.sig", "system", true, true},
    {"vendor.img", "vendor.sig", "vendor", true, false},
    {"vendor_other.img", "vendor.sig", "vendor", true, true},
    {"vbmeta.img", "vbmeta.sig", "vbmeta", true, false},
};

static std::string find_item_given_name(const char* img_name, const char* product) {
@@ -144,6 +145,8 @@ std::string find_item(const char* item, const char* product) {
        fn = "system.img";
    } else if(!strcmp(item,"vendor")) {
        fn = "vendor.img";
    } else if(!strcmp(item,"vbmeta")) {
        fn = "vbmeta.img";
    } else if(!strcmp(item,"userdata")) {
        fn = "userdata.img";
    } else if(!strcmp(item,"cache")) {