Files
rpi-buildroot/package/skopeo/Config.in
Yann E. MORIN 5c77357c58 package/skopeo: add target variant
Skopeo can be used to manipulate container images, and so can be useful
on target devices that are going to be used as a host to run containers.

So, add a target variant for skopeo.

... with a runtime test while at it.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Christian Stewart <christian@aperture.us>
Cc: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-03-15 22:09:10 +01:00

26 lines
955 B
Plaintext

config BR2_PACKAGE_SKOPEO
bool "skopeo"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
depends on BR2_USE_MMU # btrfs-progs, libgpgme, lvm2
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpgme
depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs, lvm2
depends on !BR2_STATIC_LIBS # lvm2
select BR2_PACKAGE_HOST_GO
select BR2_PACKAGE_BTRFS_PROGS
select BR2_PACKAGE_LIBGPGME
select BR2_PACKAGE_LVM2
help
skopeo is a command line utility that performs various
operations on container images and image repositories.
https://github.com/containers/skopeo
comment "skopeo needs a toolchain w/ threads, sahred libs"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
depends on BR2_USE_MMU
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|| BR2_STATIC_LIBS