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

Commit a8a3e4cc authored by Bowgo Tsai's avatar Bowgo Tsai
Browse files

Allowing /avb/q-developer-gsi.avbpubkey for DSU

Adding the key to allow a device boot a Q-Deverloper-GSI.

Bug: 144399552
Test: boots a developer Q-GSI on a Pixel device
Change-Id: If79149689afd4b662c4cae3a8b48e3a5dc57d00c
Merged-In: I6bc1e068368e64cb0bbf6ef63805444b35a1fdfb
parent d1bdcba6
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -790,14 +790,15 @@ std::set<std::string> GetBootDevices() {

FstabEntry BuildGsiSystemFstabEntry() {
    // .logical_partition_name is required to look up AVB Hashtree descriptors.
    FstabEntry system = {
            .blk_device = "system_gsi",
    FstabEntry system = {.blk_device = "system_gsi",
                         .mount_point = "/system",
                         .fs_type = "ext4",
                         .flags = MS_RDONLY,
                         .fs_options = "barrier=1",
                         // could add more keys separated by ':'.
            .avb_keys = "/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey",
                         .avb_keys =
                                 "/avb/q-gsi.avbpubkey:/avb/q-developer-gsi.avbpubkey:"
                                 "/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey",
                         .logical_partition_name = "system"};
    system.fs_mgr_flags.wait = true;
    system.fs_mgr_flags.logical = true;