From 1727753cafd0dfb110d239cb0fe1544363ea84d8 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Dec 04 2024 13:45:28 +0000 Subject: [PATCH 1/2] common: Exclude QEMU See: https://gitlab.com/fedora/ostree/sig/-/issues/58 --- diff --git a/common.yaml b/common.yaml index 0889419..1db671d 100644 --- a/common.yaml +++ b/common.yaml @@ -135,6 +135,11 @@ exclude-packages: - sdubby # Exclude Tk. We can not exclude Tcl as it is neeeded for usb_modeswitch - tk + # Exclude QEMU. See: https://gitlab.com/fedora/ostree/sig/-/issues/58 + - qemu-kvm + - qemu-kvm-core + - qemu-device-display-virtio-gpu + - qemu-device-display-virtio-vga postprocess: - | From 88c4b2e15c6468fd352018f6aa8ba3b102767008 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Dec 04 2024 16:39:08 +0000 Subject: [PATCH 2/2] common: Exclude less common architectures for QEMU user static Keep only x86-64 qemu-user-static package on aarch64 & ppc64le This is pulled in by the containers-common package in order to be able to run containers from a different architecture. See: https://gitlab.com/fedora/ostree/sig/-/issues/59 --- diff --git a/common.yaml b/common.yaml index 1db671d..13a56c1 100644 --- a/common.yaml +++ b/common.yaml @@ -21,8 +21,13 @@ include: arch-include: x86_64: - initramfs-tpm-luks.yaml + - qemu-user-static-x86_64.yaml aarch64: - initramfs-tpm-luks.yaml + - qemu-user-static-non-x86_64.yaml + ppc64le: + - qemu-user-static-non-x86_64.yaml + conditional-include: # Manifests included only for classic ostree variants diff --git a/qemu-user-static-non-x86_64.yaml b/qemu-user-static-non-x86_64.yaml new file mode 100644 index 0000000..7edfafa --- /dev/null +++ b/qemu-user-static-non-x86_64.yaml @@ -0,0 +1,22 @@ +# Keep only x86_64 emulation for aarch64 & ppc64le +# See: https://gitlab.com/fedora/ostree/sig/-/issues/59 +packages: + - qemu-user-static-x86 +exclude-packages: + - qemu-user-static-aarch64 + - qemu-user-static-alpha + - qemu-user-static-arm + - qemu-user-static-cris + - qemu-user-static-hexagon + - qemu-user-static-hppa + - qemu-user-static-loongarch64 + - qemu-user-static-m68k + - qemu-user-static-microblaze + - qemu-user-static-mips + - qemu-user-static-or1k + - qemu-user-static-ppc + - qemu-user-static-riscv + - qemu-user-static-s390x + - qemu-user-static-sh4 + - qemu-user-static-sparc + - qemu-user-static-xtensa diff --git a/qemu-user-static-x86_64.yaml b/qemu-user-static-x86_64.yaml new file mode 100644 index 0000000..c01eb05 --- /dev/null +++ b/qemu-user-static-x86_64.yaml @@ -0,0 +1,22 @@ +# Keep only aarch64 emulation for x86_64 +# See: https://gitlab.com/fedora/ostree/sig/-/issues/59 +packages: + - qemu-user-static-aarch64 +exclude-packages: + - qemu-user-static-alpha + - qemu-user-static-arm + - qemu-user-static-cris + - qemu-user-static-hexagon + - qemu-user-static-hppa + - qemu-user-static-loongarch64 + - qemu-user-static-m68k + - qemu-user-static-microblaze + - qemu-user-static-mips + - qemu-user-static-or1k + - qemu-user-static-ppc + - qemu-user-static-riscv + - qemu-user-static-s390x + - qemu-user-static-sh4 + - qemu-user-static-sparc + - qemu-user-static-x86 + - qemu-user-static-xtensa