[2/3] kas: Set prebuilt-podman-img distro support

Message ID 20241114133700.1464717-3-amikan@ilbers.de
State Accepted, archived
Headers show
Series Limit prebuilt container package selection | expand

Commit Message

Anton Mikanovich Nov. 14, 2024, 1:36 p.m. UTC
Prebuilt podman image package depends on podman, while it presents in
repos starting from Ubuntu Jammy or Debian Bullseye.
Also quay.io storage have only amd64, arm64 and armhf images, so
disable selecting this package for other architectures.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 kas/package/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/kas/package/Kconfig b/kas/package/Kconfig
index 395c3a08..ac072006 100644
--- a/kas/package/Kconfig
+++ b/kas/package/Kconfig
@@ -159,6 +159,8 @@  config KAS_INCLUDE_PACKAGE_PREBUILT_DOCKER_IMG
 config PACKAGE_PREBUILT_PODMAN_IMG
         bool "prebuilt-podman-img"
         default y
+        depends on DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || UBUNTU_JAMMY || UBUNTU_NOBLE
+        depends on ARCH_AMD64 || ARCH_ARM64 || ARCH_ARM
 
 config KAS_INCLUDE_PACKAGE_PREBUILT_PODMAN_IMG
         string