pkg/debian: Fix versioning issues regarding revision by forcing KDEB_PKGVERSION
This commit is contained in:
parent
4b9cc43e1f
commit
541b781c9a
8
.github/workflows/debian.yml
vendored
8
.github/workflows/debian.yml
vendored
|
@ -76,9 +76,6 @@ jobs:
|
||||||
../ubuntu.config \
|
../ubuntu.config \
|
||||||
../../../../configs/surface-${KERNEL_VERSION%.*}.config
|
../../../../configs/surface-${KERNEL_VERSION%.*}.config
|
||||||
|
|
||||||
# set revision
|
|
||||||
echo "$KERNEL_REVISION" > .version
|
|
||||||
|
|
||||||
- name: Setup secureboot certificate
|
- name: Setup secureboot certificate
|
||||||
env:
|
env:
|
||||||
SB_KEY: ${{ secrets.SURFACE_SB_KEY }}
|
SB_KEY: ${{ secrets.SURFACE_SB_KEY }}
|
||||||
|
@ -98,6 +95,11 @@ jobs:
|
||||||
KDEB_COMPRESS: xz
|
KDEB_COMPRESS: xz
|
||||||
run: |
|
run: |
|
||||||
cd pkg/debian/kernel/linux
|
cd pkg/debian/kernel/linux
|
||||||
|
|
||||||
|
# Explicitly set package version, including revision. This is picked up
|
||||||
|
# by 'make bindeb-pkg'.
|
||||||
|
export KDEB_PKGVERSION="${KERNEL_VERSION}${LOCALVERSION}-${KERNEL_REVISION}"
|
||||||
|
|
||||||
make bindeb-pkg -j2
|
make bindeb-pkg -j2
|
||||||
|
|
||||||
- name: Build meta-package
|
- name: Build meta-package
|
||||||
|
|
Loading…
Reference in a new issue