mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 19:40: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>
(cherry picked from commit ed99b77e5d)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
522fe8d976
commit
321e6745b1
@@ -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
|
||||
|
||||
@@ -71,8 +71,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