Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ateixeira:xps13
intel-ipu6
0008-dkms-ensure-no-hole-in-modules-list.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0008-dkms-ensure-no-hole-in-modules-list.patch of Package intel-ipu6
From: You-Sheng Yang <vicamo.yang@canonical.com> Date: Thu, 8 Aug 2024 11:19:57 +0800 Subject: dkms: ensure no hole in modules list dkms does not allow holes in modules list in dkms.conf. When conditional targets are involved, the configuration file must ensure the items are listed in a continuous, incremental way. Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com> --- dkms.conf | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dkms.conf b/dkms.conf index 824a05a..13d886c 100644 --- a/dkms.conf +++ b/dkms.conf @@ -31,8 +31,6 @@ version_lt() { KERNEL_VERSION=$(echo ${kernelver} | sed 's/[^0-9.]*\([0-9.]*\).*/\1/') -KV_OV2740=6.8.0 -KV_OV05C10=6.8.0 BUILT_MODULE_NAME[0]="intel-ipu6" BUILT_MODULE_LOCATION[0]="drivers/media/pci/intel/ipu6" @@ -79,14 +77,12 @@ BUILT_MODULE_LOCATION[10]="drivers/media/i2c" DEST_MODULE_LOCATION[10]="/updates" -if ! version_lt ${KERNEL_VERSION} ${KV_OV05C10}; then - BUILT_MODULE_NAME[11]="ov05c10" +if version_lt ${KERNEL_VERSION} 6.8.0; then + BUILT_MODULE_NAME[11]="ov2740" BUILT_MODULE_LOCATION[11]="drivers/media/i2c" DEST_MODULE_LOCATION[11]="/updates" -fi - -if version_lt ${KERNEL_VERSION} ${KV_OV2740}; then - BUILT_MODULE_NAME[11]="ov2740" +else + BUILT_MODULE_NAME[11]="ov05c10" BUILT_MODULE_LOCATION[11]="drivers/media/i2c" DEST_MODULE_LOCATION[11]="/updates" fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor