diff --git a/.github/workflows/debian_lts.yml b/.github/workflows/debian_lts.yml index ea4cf2325..823b3c436 100644 --- a/.github/workflows/debian_lts.yml +++ b/.github/workflows/debian_lts.yml @@ -8,7 +8,7 @@ name: Debian LTS env: GPG_KEY_ID: 56C464BAAC421453 KERNEL_VERSION: 4.19.131 - KERNEL_REVISION: 2 + KERNEL_REVISION: 3 LOCALVERSION: -surface-lts MAINLINE_REPO: git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack MAINLINE_BRANCH: cod/mainline @@ -98,7 +98,7 @@ jobs: - name: Build meta-package run: | 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 - name: Prepare release diff --git a/pkg/debian/meta/mkdebian.sh b/pkg/debian/meta/mkdebian.sh index f20c1a919..8af86964f 100755 --- a/pkg/debian/meta/mkdebian.sh +++ b/pkg/debian/meta/mkdebian.sh @@ -2,18 +2,19 @@ kernelrelease="${1}" pkgrevision="${2}" +suffix="${3:+-${3}}" distribution="unstable" debarch="amd64" debcompat="10" -sourcename="linux-surface" +sourcename="linux-surface${suffix}" maintainer="surfacebot " pkgversion="${kernelrelease}-${pkgrevision}" -image_pkgname="linux-image-surface" +image_pkgname="linux-image-surface${suffix}" image_pkgname_actual="linux-image-${kernelrelease}" -headers_pkgname="linux-headers-surface" +headers_pkgname="linux-headers-surface${suffix}" headers_pkgname_actual="linux-headers-${kernelrelease}"