Skip to content

Commit

Permalink
kbuild: pacman-pkg: provide versioned linux-api-headers package
Browse files Browse the repository at this point in the history
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: c857853 ("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>
  • Loading branch information
Thomas Weißschuh authored and Masahiro Yamada committed Jan 5, 2025
1 parent 8fe1a63 commit 3854430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3854430

Please sign in to comment.