소스 검색

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)"