mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
package/passt: needs headers >= 5.0
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. As reported by Julien, since 2024_12_11.09478d5, upstream requires kernel headers >= 5.0, as they make use of linux/vhost_types.h, only introduced in 5.0. Add a dependency to kernel headers, and propagate it to podman's passt backend. Reported-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
b17a5979c3
commit
ed99b77e5d
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_PASST
|
||||
bool "passt"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
|
||||
help
|
||||
passt: Plug A Simple Socket Transport
|
||||
pasta: Pack A Subtle Tap Abstraction
|
||||
@@ -17,3 +18,6 @@ config BR2_PACKAGE_PASST
|
||||
hence not requiring any capabilities or privileges.
|
||||
|
||||
https://passt.top/passt/about/
|
||||
|
||||
comment "passt needs a toolchain w/ headers >= 5.0"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
|
||||
|
||||
@@ -72,8 +72,12 @@ choice
|
||||
|
||||
config BR2_PACKAGE_PODMAN_NET_PASST
|
||||
bool "passt/pasta"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 # 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
|
||||
|
||||
config BR2_PACKAGE_PODMAN_NET_SLIRP4NETNS
|
||||
bool "slirp4netns"
|
||||
select BR2_PACKAGE_SLIRP4NETNS # runtime
|
||||
|
||||
Reference in New Issue
Block a user