Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test kernel module for system and odm DLKM partition #2630

Open
wants to merge 1 commit into
base: celadon/u/mr0/master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
From 3fed5abf7a4cce965959e07455b73c9fdfd51d05 Mon Sep 17 00:00:00 2001
From: "Chen, Gang G" <gang.g.chen@intel.com>
Date: Sun, 22 Sep 2024 10:00:35 +0800
Subject: [PATCH 3/3] Add test kernel module for system and odm DLKM partition
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The vts_dlkm_partition_test vts test case will check if
“/<system/odm>/lib/modules” is a symlink to
“/<system/odm>_dlkm/lib/modules. If there is no module
in the partition, symlink will not be created.
So this is a WA patch to pass the VTS. The WA patch can
be removed if enable GKI on X86 platform.

Test Done:
Boot
vts_dlkm_partition_test

Tracked-On: OAM-118469
Signed-off-by: Chen, Gang G <gang.g.chen@intel.com>
---
groups/boot-arch/project-celadon/BoardConfig.mk | 3 +++
1 file changed, 3 insertions(+)

diff --git a/groups/boot-arch/project-celadon/BoardConfig.mk b/groups/boot-arch/project-celadon/BoardConfig.mk
index db83fc47..f72f881a 100644
--- a/groups/boot-arch/project-celadon/BoardConfig.mk
+++ b/groups/boot-arch/project-celadon/BoardConfig.mk
@@ -201,3 +201,6 @@ ENABLE_GRUB_INSTALLER ?= true
{{/use_cic}}

BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/soc
+
+BOARD_SYSTEM_KERNEL_MODULES := kernel/prebuilts/6.1/x86_64/pppox.ko
+BOARD_ODM_KERNEL_MODULES := kernel/prebuilts/6.1/x86_64/pppox.ko
--
2.45.2