Fix debian meta package name

This commit is contained in:
Maximilian Luz 2020-07-05 13:22:16 +02:00
parent 4bc9591e4e
commit 1bea97789b
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
2 changed files with 6 additions and 5 deletions

View file

@ -8,7 +8,7 @@ name: Debian LTS
env: env:
GPG_KEY_ID: 56C464BAAC421453 GPG_KEY_ID: 56C464BAAC421453
KERNEL_VERSION: 4.19.131 KERNEL_VERSION: 4.19.131
KERNEL_REVISION: 2 KERNEL_REVISION: 3
LOCALVERSION: -surface-lts LOCALVERSION: -surface-lts
MAINLINE_REPO: git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack MAINLINE_REPO: git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
MAINLINE_BRANCH: cod/mainline MAINLINE_BRANCH: cod/mainline
@ -98,7 +98,7 @@ jobs:
- name: Build meta-package - name: Build meta-package
run: | run: |
cd pkg/debian/meta cd pkg/debian/meta
./mkdebian.sh $(make -C ../kernel-lts/linux -s kernelrelease) ${KERNEL_REVISION} ./mkdebian.sh $(make -C ../kernel-lts/linux -s kernelrelease) ${KERNEL_REVISION} lts
dpkg-buildpackage -b dpkg-buildpackage -b
- name: Prepare release - name: Prepare release

View file

@ -2,18 +2,19 @@
kernelrelease="${1}" kernelrelease="${1}"
pkgrevision="${2}" pkgrevision="${2}"
suffix="${3:+-${3}}"
distribution="unstable" distribution="unstable"
debarch="amd64" debarch="amd64"
debcompat="10" debcompat="10"
sourcename="linux-surface" sourcename="linux-surface${suffix}"
maintainer="surfacebot <surfacebot@users.noreply.github.com>" maintainer="surfacebot <surfacebot@users.noreply.github.com>"
pkgversion="${kernelrelease}-${pkgrevision}" pkgversion="${kernelrelease}-${pkgrevision}"
image_pkgname="linux-image-surface" image_pkgname="linux-image-surface${suffix}"
image_pkgname_actual="linux-image-${kernelrelease}" image_pkgname_actual="linux-image-${kernelrelease}"
headers_pkgname="linux-headers-surface" headers_pkgname="linux-headers-surface${suffix}"
headers_pkgname_actual="linux-headers-${kernelrelease}" headers_pkgname_actual="linux-headers-${kernelrelease}"