Provide LINUX-HEADERS

Closes: https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/issues/176
This commit is contained in:
Jan Alexander Steffens (heftig)
2026-02-06 03:01:27 +01:00
parent 5711a17344
commit 5d81b347a8
2 changed files with 2 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ pkgname = linux
pkgname = linux-headers pkgname = linux-headers
pkgdesc = Headers and scripts for building modules for the Linux kernel pkgdesc = Headers and scripts for building modules for the Linux kernel
depends = pahole depends = pahole
provides = LINUX-HEADERS
pkgname = linux-docs pkgname = linux-docs
pkgdesc = Documentation for the Linux kernel pkgdesc = Documentation for the Linux kernel

View File

@@ -138,6 +138,7 @@ _package() {
_package-headers() { _package-headers() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel" pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=(pahole) depends=(pahole)
provides=(LINUX-HEADERS)
cd $_srcname cd $_srcname
local builddir="$pkgdir/usr/lib/modules/$(<version)/build" local builddir="$pkgdir/usr/lib/modules/$(<version)/build"