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

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

Update GSI keys for dynamic system image

Bug: 112293933
Test: tree hugger
Change-Id: Ia5fd08410fd680b8fd3676cfc4daae1caf1ff425
parent cd68bda4
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -754,13 +754,14 @@ 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/gsi.avbpubkey:",
            .avb_keys = "/avb/q-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;