mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
package/passt: needs headers >= 5.9
Upstream passt only documents runtime dependencies; and they advertise
being able to run on kernel 3.8 or later. However, they do not document
the build dependencies.
Since 2025_06_11.0293c6f, upstream requires kernel headers >= 5.9, as
they make use of linux/close_range.h, only introduced in 5.9.
Add a dependency to kernel headers, and propagate it to podman's passt
backend.
Fixes: 6a192b0d28
Cc: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
183c52448d
commit
113def3696
@@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_PASST
|
||||
bool "passt"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|
||||
help
|
||||
passt: Plug A Simple Socket Transport
|
||||
pasta: Pack A Subtle Tap Abstraction
|
||||
@@ -19,5 +19,5 @@ config BR2_PACKAGE_PASST
|
||||
|
||||
https://passt.top/passt/about/
|
||||
|
||||
comment "passt needs a toolchain w/ headers >= 5.0"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
|
||||
comment "passt needs a toolchain w/ headers >= 5.9"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|
||||
|
||||
@@ -72,11 +72,11 @@ choice
|
||||
|
||||
config BR2_PACKAGE_PODMAN_NET_PASST
|
||||
bool "passt/pasta"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 # passt
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 # passt
|
||||
select BR2_PACKAGE_PASST # runtime
|
||||
|
||||
comment "passt/pasta backend needs a toolchain w/ headers >= 5.0"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
|
||||
comment "passt/pasta backend needs a toolchain w/ headers >= 5.9"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|
||||
|
||||
config BR2_PACKAGE_PODMAN_NET_SLIRP4NETNS
|
||||
bool "slirp4netns"
|
||||
|
||||
Reference in New Issue
Block a user