* [PATCH] kbuild: pacman-pkg: provide versioned linux-api-headers package
@ 2025-01-03 18:20 Thomas Weißschuh
2025-01-04 5:05 ` Nathan Chancellor
2025-01-05 14:21 ` Masahiro Yamada
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Weißschuh @ 2025-01-03 18:20 UTC (permalink / raw)
To: Christian Heusel, Nathan Chancellor, Masahiro Yamada,
Nicolas Schier
Cc: linux-kbuild, linux-kernel, Thomas Weißschuh
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>
---
scripts/package/PKGBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/PKGBUILD b/scripts/package/PKGBUILD
index f83493838cf96ac9f209c6fc8f9b219705f9715b..dca706617adc76d01a09a86785815a48db15b099 100644
--- a/scripts/package/PKGBUILD
+++ b/scripts/package/PKGBUILD
@@ -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
---
base-commit: 0bc21e701a6ffacfdde7f04f87d664d82e8a13bf
change-id: 20250103-kbuild-pacman-pkg-provides-06b02d213e75
Best regards,
--
Thomas Weißschuh <linux@weissschuh.net>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] kbuild: pacman-pkg: provide versioned linux-api-headers package
2025-01-03 18:20 [PATCH] kbuild: pacman-pkg: provide versioned linux-api-headers package Thomas Weißschuh
@ 2025-01-04 5:05 ` Nathan Chancellor
2025-01-05 14:21 ` Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2025-01-04 5:05 UTC (permalink / raw)
To: Thomas Weißschuh
Cc: Christian Heusel, Masahiro Yamada, Nicolas Schier, linux-kbuild,
linux-kernel
On Fri, Jan 03, 2025 at 07:20:23PM +0100, Thomas Weißschuh wrote:
> 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>
Makes sense based on my understanding of provides.
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
> ---
> scripts/package/PKGBUILD | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/package/PKGBUILD b/scripts/package/PKGBUILD
> index f83493838cf96ac9f209c6fc8f9b219705f9715b..dca706617adc76d01a09a86785815a48db15b099 100644
> --- a/scripts/package/PKGBUILD
> +++ b/scripts/package/PKGBUILD
> @@ -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
>
> ---
> base-commit: 0bc21e701a6ffacfdde7f04f87d664d82e8a13bf
> change-id: 20250103-kbuild-pacman-pkg-provides-06b02d213e75
>
> Best regards,
> --
> Thomas Weißschuh <linux@weissschuh.net>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kbuild: pacman-pkg: provide versioned linux-api-headers package
2025-01-03 18:20 [PATCH] kbuild: pacman-pkg: provide versioned linux-api-headers package Thomas Weißschuh
2025-01-04 5:05 ` Nathan Chancellor
@ 2025-01-05 14:21 ` Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2025-01-05 14:21 UTC (permalink / raw)
To: Thomas Weißschuh
Cc: Christian Heusel, Nathan Chancellor, Nicolas Schier, linux-kbuild,
linux-kernel
On Sat, Jan 4, 2025 at 3:20 AM Thomas Weißschuh <linux@weissschuh.net> wrote:
>
> 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>
> ---
Applied to linux-kbuild.
Thanks!
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-05 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-03 18:20 [PATCH] kbuild: pacman-pkg: provide versioned linux-api-headers package Thomas Weißschuh
2025-01-04 5:05 ` Nathan Chancellor
2025-01-05 14:21 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox