Browse Source

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.
Dorian Stoll 1 year ago
parent
commit
03b1eb13c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/scripts/package/debian.sh

+ 1 - 1
.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)"