]> www.infradead.org Git - users/hch/xfs.git/commitdiff
kbuild: pacman-pkg: provide versioned linux-api-headers package
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 3 Jan 2025 18:20:23 +0000 (19:20 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 5 Jan 2025 14:19:17 +0000 (23:19 +0900)
The Arch Linux glibc package contains a versioned dependency on
"linux-api-headers". If the linux-api-headers package provided by
pacman-pkg does not specify an explicit version this dependency is not
satisfied.
Fix the dependency by providing an explicit version.

Fixes: c8578539deba ("kbuild: add script and target to generate pacman package")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/PKGBUILD

index f83493838cf96ac9f209c6fc8f9b219705f9715b..dca706617adc76d01a09a86785815a48db15b099 100644 (file)
@@ -103,7 +103,7 @@ _package-headers() {
 
 _package-api-headers() {
        pkgdesc="Kernel headers sanitized for use in userspace"
-       provides=(linux-api-headers)
+       provides=(linux-api-headers="${pkgver}")
        conflicts=(linux-api-headers)
 
        _prologue