[isar-cip-core][PATCH v4 1/3] Add the default kernel verions in cip-core-common.inc with extra weak

Shivanand Kunijadar <[email protected]>
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>
The distro specific conf files (e.g conf/distro/debian-trixie.conf)
override this option to set the kernel versions specific to the distros.
The default kernel versions will be used if not mentioned in the distro
specific conf files.

Signed-off-by: Shivanand Kunijadar <[email protected]>
---
 conf/distro/cip-core-common.inc  | 3 +++
 conf/distro/cip-core-trixie.conf | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/distro/cip-core-common.inc b/conf/distro/cip-core-common.inc
index 0b45636..8a1db61 100644
--- a/conf/distro/cip-core-common.inc
+++ b/conf/distro/cip-core-common.inc
@@ -18,6 +18,9 @@ CIP_IMAGE_OPTIONS ?= ""
 IMAGER_BUILD_DEPS:append:bullseye = " dosfstools-native"
 IMAGER_BUILD_DEPS:append:bookworm = " dosfstools-native"
 
+PREFERRED_VERSION_linux-cip ??= "6.12.%"
+PREFERRED_VERSION_linux-cip-rt ??= "6.12.%"
+
 PREFERRED_VERSION_linux-cip-native ?= "${PREFERRED_VERSION_linux-cip}"
 PREFERRED_VERSION_linux-cip-kbuildtarget ?= "${PREFERRED_VERSION_linux-cip}"
 
diff --git a/conf/distro/cip-core-trixie.conf b/conf/distro/cip-core-trixie.conf
index b133bbb..79a05fa 100644
--- a/conf/distro/cip-core-trixie.conf
+++ b/conf/distro/cip-core-trixie.conf
@@ -11,6 +11,3 @@
 
 require conf/distro/debian-trixie.conf
 require cip-core-common.inc
-
-PREFERRED_VERSION_linux-cip ?= "6.12.%"
-PREFERRED_VERSION_linux-cip-rt ?= "6.12.%"
-- 
2.39.5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.