diff options
author | Will McVicker <willmcvicker@google.com> | 2023-11-07 10:05:11 -0800 |
---|---|---|
committer | William McVicker <willmcvicker@google.com> | 2023-11-08 19:22:45 +0000 |
commit | df9ca7c4e1b4a3b7946a205de725fe0c8d7826d6 (patch) | |
tree | ffdba914a86a6d5144d340526b79982fbacdccdc | |
parent | 97c0d04d870885ac767c4557b46d7cc193e4061c (diff) | |
download | gs101-df9ca7c4e1b4a3b7946a205de725fe0c8d7826d6.tar.gz |
fstab: allow unlocked devices to boot with AVB test key
Set `avb_keys=no_such_key` for the vendor_dlkm dynamic kernel partition
to allow booting unlocked devices with a custom kernel. This allows a
few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.
Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: Iee542cf5ab4973ee9cb2c1fe66d00b642fdf525b
Merged-In: Iee542cf5ab4973ee9cb2c1fe66d00b642fdf525b
-rw-r--r-- | conf/fstab.gs101.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/fstab.gs101.in b/conf/fstab.gs101.in index ef84e9b6..5ad2c511 100644 --- a/conf/fstab.gs101.in +++ b/conf/fstab.gs101.in @@ -8,7 +8,7 @@ system /system system_ext /system_ext ext4 ro,barrier=1 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,readahead_size_kb=128 product /product ext4 ro,barrier=1 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,readahead_size_kb=128 vendor /vendor ext4 ro,barrier=1 wait,slotselect,avb=vbmeta_vendor,logical,first_stage_mount,readahead_size_kb=128 -vendor_dlkm /vendor_dlkm ext4 ro,barrier=1 wait,slotselect,avb=vbmeta,logical,first_stage_mount +vendor_dlkm /vendor_dlkm ext4 ro,barrier=1 wait,slotselect,avb=vbmeta,avb_keys=no_such_key,logical,first_stage_mount /dev/block/platform/14700000.ufs/by-name/boot /boot emmc defaults slotselect,avb=boot,first_stage_mount /dev/block/platform/14700000.ufs/by-name/efs /mnt/vendor/efs ext4 defaults,noatime,rw wait,check,formattable /dev/block/platform/14700000.ufs/by-name/efs_backup /mnt/vendor/efs_backup ext4 defaults,noatime,rw wait,check,formattable |