Files
BPI-CM9-Linux/aml-patches/aml-comp/kernel/aml-6.12/0001-amlbian-set-kernel-version-fix-debian-system-start-1.patch

37 lines
1.0 KiB
Diff

From e0ad3c8442c02a37e6a2dec26b4be6b1c3a8f0c5 Mon Sep 17 00:00:00 2001
From: "zongren.yin" <[email protected]>
Date: Wed, 29 Apr 2026 18:41:47 +0800
Subject: [PATCH] amlbian: set kernel version fix debian system start [1/1]
PD#SWPL-
Problem:
Solution:
Fixed conflicts:
Verify:
t
Change-Id: I0018cb2b70a95e75942aecd4dd22bc479b619d36
Signed-off-by: zongren.yin <[email protected]>
---
scripts/setlocalversion | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
index 5818465abba9..53b648e6835a 100755
--- a/scripts/setlocalversion
+++ b/scripts/setlocalversion
@@ -205,4 +205,5 @@ elif [ "${LOCALVERSION+set}" != "set" ]; then
scm_version="$(scm_version --short)"
fi
-echo "${KERNELVERSION}${file_localversion}${config_localversion}${LOCALVERSION}${scm_version}"
+echo ">>> : ${KERNELVERSION}-${file_localversion}-${config_localversion}-${LOCALVERSION}-${scm_version}" > setlocalversion.txt
+echo "${KERNELVERSION}${file_localversion}${config_localversion}${LOCALVERSION}"
--
2.43.2