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 năm trước cách đây
mục cha
commit
03b1eb13c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)"