浏览代码

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 年之前
父节点
当前提交
03b1eb13c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)"