mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/mender-update-modules: fix kernel header dependency
Commitf933a165e2("package/podman: raise kernel header requirement to v4.14") raised the kernel headers dependency of podman from 3.17 to 4.14, but forgot to propagate this change to the mender-update-modules podman option, causing the following kconfig warning: WARNING: unmet direct dependencies detected for BR2_PACKAGE_PODMAN Depends on [n]: BR2_USE_MMU [=y] && BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS [=y] && BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_WCHAR [=y] Selected by [y]: - BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN [=y] && BR2_PACKAGE_MENDER_UPDATE_MODULES [=y] && BR2_USE_MMU [=y] && BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS [=y] && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_WCHAR [=y] Fix this by properly propagating the dependency. Fixes:f933a165e2("package/podman: raise kernel header requirement to v4.14") Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit0cead19ec2) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
a160539c5f
commit
311a9a8d89
@@ -132,7 +132,7 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # podman
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # podman
|
||||
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # podman
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # podman
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 # podman
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # podman
|
||||
depends on BR2_USE_WCHAR # podman
|
||||
select BR2_PACKAGE_JQ # runtime
|
||||
@@ -150,13 +150,13 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN
|
||||
|
||||
https://github.com/mendersoftware/mender-update-modules/tree/master/podman
|
||||
|
||||
comment "podman support needs a toolchain w/ headers >= 3.17, threads, wchar"
|
||||
comment "podman support needs a toolchain w/ headers >= 4.14, threads, wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 \
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_USE_WCHAR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user