From fc05a5f2182b4d496f3111d10b744827ae532054 Mon Sep 17 00:00:00 2001 From: Daniel Mentz Date: Wed, 3 Mar 2021 14:44:17 -0800 Subject: [PATCH] Add vendor_dlkm partition (2nd attempt) Certain vendor kernel modules were previously stored in the vendor partition. With this change, we create a new separate partition named vendor_dlkm for these vendor modules. Bug: 173653839 Change-Id: I1fc887bdfac958d3a65fb48a4bf7a398e756733e --- BoardConfig-common.mk | 3 ++- conf/fstab.gs101 | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 6a956183..57fa101e 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -180,7 +180,8 @@ BOARD_GOOGLE_DYNAMIC_PARTITIONS_PARTITION_LIST := \ system \ system_ext \ product \ - vendor + vendor \ + vendor_dlkm # Set error limit to BOARD_SUPER_PARTITON_SIZE - 500MB BOARD_SUPER_PARTITION_ERROR_LIMIT := 8006926336 diff --git a/conf/fstab.gs101 b/conf/fstab.gs101 index d649b1b8..1ef1f799 100644 --- a/conf/fstab.gs101 +++ b/conf/fstab.gs101 @@ -8,6 +8,7 @@ system /system system_ext /system_ext ext4 ro,barrier=1 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount product /product ext4 ro,barrier=1 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount vendor /vendor ext4 ro,barrier=1 wait,slotselect,avb=vbmeta,logical,first_stage_mount +vendor_dlkm /vendor_dlkm ext4 ro,barrier=1 wait,slotselect,avb=vbmeta,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