From 03b1eb13c30111a76723c87aa87b3647f8e466e9 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Sat, 28 Oct 2023 09:35:41 +0200 Subject: [PATCH] pkg: debian: Add the package revision to LOCALVERSION Right now two builds of the same kernel version will install into the same directory, e.g. /lib/modules/6.5.6-surface. This doesn't really ultimately cause any issues, but having the build number in uname -r and unique installation targets is good practice. --- .github/scripts/package/debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/package/debian.sh b/.github/scripts/package/debian.sh index bb6f3b6a6..dab8955c3 100644 --- a/.github/scripts/package/debian.sh +++ b/.github/scripts/package/debian.sh @@ -108,7 +108,7 @@ build-packages) export KDEB_COMPRESS="xz" # Set kernel localversion - export LOCALVERSION="${KERNEL_LOCALVERSION}" + export LOCALVERSION="${KERNEL_LOCALVERSION}-${KERNEL_REVISION}" make bindeb-pkg -j "$(nproc)"