Fix license, disable debug

debug creates empty an empty /usr/src/debug/linux since makepkg 6.1.
This commit is contained in:
Jan Alexander Steffens (heftig) 2024-03-16 17:14:08 +00:00
parent 242ea4a023
commit abef9db380
No known key found for this signature in database
GPG Key ID: B8AC08600F108CDF
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,7 @@ pkgbase = linux
pkgrel = 1 pkgrel = 1
url = https://github.com/archlinux/linux url = https://github.com/archlinux/linux
arch = x86_64 arch = x86_64
license = GPL2 license = GPL-2.0-only
makedepends = bc makedepends = bc
makedepends = cpio makedepends = cpio
makedepends = gettext makedepends = gettext
@ -19,6 +19,7 @@ pkgbase = linux
makedepends = python-sphinx makedepends = python-sphinx
makedepends = python-yaml makedepends = python-yaml
makedepends = texlive-latexextra makedepends = texlive-latexextra
options = !debug
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.1.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.1.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.1.tar.sign source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.1.tar.sign

View File

@ -6,7 +6,7 @@ pkgrel=1
pkgdesc='Linux' pkgdesc='Linux'
url='https://github.com/archlinux/linux' url='https://github.com/archlinux/linux'
arch=(x86_64) arch=(x86_64)
license=(GPL2) license=(GPL-2.0-only)
makedepends=( makedepends=(
bc bc
cpio cpio
@ -25,7 +25,10 @@ makedepends=(
python-yaml python-yaml
texlive-latexextra texlive-latexextra
) )
options=('!strip') options=(
!debug
!strip
)
_srcname=linux-${pkgver%.*} _srcname=linux-${pkgver%.*}
_srctag=v${pkgver%.*}-${pkgver##*.} _srctag=v${pkgver%.*}-${pkgver##*.}
source=( source=(