From: Bruno Martins Date: Sat, 16 Dec 2023 14:50:30 +0000 (+0000) Subject: g12: Move kernel modules to vendor DLKM partition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=601e2b2d32457c5e337ad3be28a5849c1f752295;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12: Move kernel modules to vendor DLKM partition Change-Id: Ifc49911dcb4988bbc3c82351e9427b610f7b75c8 --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index b5357f2..4c6e0bd 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -38,7 +38,7 @@ TARGET_MODULE_ALIASES += \ ## Partitions CORE_PARTITIONS := system vendor -ADDITIONAL_PARTITIONS := odm product system_ext +ADDITIONAL_PARTITIONS := odm product system_ext vendor_dlkm ALL_PARTITIONS := $(CORE_PARTITIONS) $(ADDITIONAL_PARTITIONS) BOARD_AMLOGIC_DYNAMIC_PARTITIONS_PARTITION_LIST := $(ALL_PARTITIONS) diff --git a/init-files/fstab.amlogic b/init-files/fstab.amlogic index d3513fd..624c775 100644 --- a/init-files/fstab.amlogic +++ b/init-files/fstab.amlogic @@ -4,6 +4,7 @@ product /product ext4 ro,barrier=1 system /system ext4 ro,barrier=1 wait,avb=vbmeta,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey" system_ext /system_ext ext4 ro,barrier=1 wait,avb,logical,first_stage_mount vendor /vendor ext4 ro,barrier=1 wait,avb,logical,first_stage_mount +vendor_dlkm /vendor_dlkm ext4 ro,barrier=1 wait,avb,logical,first_stage_mount ## Block devices /dev/block/boot /boot emmc defaults recoveryonly diff --git a/init-files/fstab_no_avb.amlogic b/init-files/fstab_no_avb.amlogic index 9d7abc4..1344c2b 100644 --- a/init-files/fstab_no_avb.amlogic +++ b/init-files/fstab_no_avb.amlogic @@ -4,6 +4,7 @@ product /product ext4 ro,barrier=1 system /system ext4 ro,barrier=1 wait,logical,first_stage_mount system_ext /system_ext ext4 ro,barrier=1 wait,logical,first_stage_mount vendor /vendor ext4 ro,barrier=1 wait,logical,first_stage_mount +vendor_dlkm /vendor_dlkm ext4 ro,barrier=1 wait,logical,first_stage_mount ## Block devices /dev/block/boot /boot emmc defaults recoveryonly diff --git a/proprietary-files.txt b/proprietary-files.txt index 9dc1af2..c55945b 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -99,7 +99,7 @@ vendor/etc/vintf/manifest/android.hardware.health@2.1-servcie.droidlogic.xml vendor/lib/hw/android.hardware.health@2.0-impl-2.1.droidlogic.so # Kernel Modules -vendor/lib/modules/amlogic_fbc_lib.ko +vendor/lib/modules/amlogic_fbc_lib.ko:vendor_dlkm/lib/modules/amlogic_fbc_lib.ko # ICU vendor/lib/libicuuc_vendor.so