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.
This commit is contained in:
Dorian Stoll 2023-10-28 09:35:41 +02:00
parent 16e4336094
commit 03b1eb13c3
No known key found for this signature in database
GPG key ID: F1DACD02C619442A

View file

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