Procházet zdrojové kódy

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 před 1 rokem
rodič
revize
03b1eb13c3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)"