commit:     fbc1ceefbfdf402b2b10133ef9eae92907764c78
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Mon Oct 28 09:56:10 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 15:24:04 2024 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=fbc1ceef

Unset local version in kconfig

Now the Handbook recommends localmodcondig to create kernels, we need to unset 
the
localversion in our images to prevent the user getting -gentoo-dist-dist by 
default.

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>

 releases/kconfig/amd64/dist-amd64-livecd.config | 6 +++++-
 releases/kconfig/x86/dist-x86-livecd.config     | 4 ++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/releases/kconfig/amd64/dist-amd64-livecd.config 
b/releases/kconfig/amd64/dist-amd64-livecd.config
index 0b1d62e4..374f6919 100644
--- a/releases/kconfig/amd64/dist-amd64-livecd.config
+++ b/releases/kconfig/amd64/dist-amd64-livecd.config
@@ -1,5 +1,9 @@
 # Kernel config for AMD64 Livecds
 
+# Ian Jordan <[email protected]> (2024-10-28)
+# Remove localversion being set on the LiveCDs so localmodconfig doesn't 
double load.
+CONFIG_LOCALVERSION=""
+
 # Ian Jordan <[email protected]> (2024-05-26)
 # Disable DRM support from being built on livecds to save space and load 
errors.
 CONFIG_DRM=n
@@ -19,4 +23,4 @@ CONFIG_DRM_VIRTIO_GPU=n
 CONFIG_DRM_BOCHS=n
 CONFIG_DRM_CIRRUS_QEMU=n
 CONFIG_DRM_GM12U320=n
-CONFIG_DRM_PANEL_MIPI_DBI=n
\ No newline at end of file
+CONFIG_DRM_PANEL_MIPI_DBI=n

diff --git a/releases/kconfig/x86/dist-x86-livecd.config 
b/releases/kconfig/x86/dist-x86-livecd.config
index 5ff138d3..0cb6e184 100644
--- a/releases/kconfig/x86/dist-x86-livecd.config
+++ b/releases/kconfig/x86/dist-x86-livecd.config
@@ -1,5 +1,9 @@
 # Kernel config for x86 Livecds
 
+# Ian Jordan <[email protected]> (2024-10-28)
+# Remove localversion being set on the LiveCDs so localmodconfig doesn't 
double load.
+CONFIG_LOCALVERSION=""
+
 # Ian Jordan <[email protected] (2024-07-31)
 # Build kernel for 486 CPU
 CONFIG_M486=y

Reply via email to