Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-libguestfs-tools-container for openSUSE:Factory checked in at 2022-04-08 22:45:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-libguestfs-tools-container (Old) and /work/SRC/openSUSE:Factory/.virt-libguestfs-tools-container.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-libguestfs-tools-container" Fri Apr 8 22:45:31 2022 rev:5 rq:967642 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/virt-libguestfs-tools-container/virt-libguestfs-tools-container.changes 2022-04-01 21:37:29.824581620 +0200 +++ /work/SRC/openSUSE:Factory/.virt-libguestfs-tools-container.new.1900/virt-libguestfs-tools-container.changes 2022-04-08 22:45:35.307225917 +0200 @@ -1,0 +2,6 @@ +Mon Apr 4 13:04:36 UTC 2022 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Handle aarch64 specific bits +- Enable build only on aarch64 and x86_64 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Dockerfile ++++++ --- /var/tmp/diff_new_pack.uDgoSw/_old 2022-04-08 22:45:35.871219657 +0200 +++ /var/tmp/diff_new_pack.uDgoSw/_new 2022-04-08 22:45:35.875219612 +0200 @@ -3,11 +3,16 @@ #!BuildTag: %%TAGPREFIX%%/libguestfs-tools:%%PKG_VERSION%%.%RELEASE% #!BuildTag: %%TAGPREFIX%%/libguestfs-tools:%%PKG_VERSION%%-%%PKG_RELEASE%% +#!ExclusiveArch: x86_64 aarch64 + # libguestfs-tools container image # KUBEVIRTFROM defined in prjconf, e.g. # BuildFlags: dockerarg:KUBEVIRTFROM=opensuse/tumbleweed ARG KUBEVIRTFROM FROM $KUBEVIRTFROM +# TARGETARCH defined in prjconf, to handle architecture specific bits +# since TARGETARCH is not defined in OBS builds yet. Default to amd64. +ARG TARGETARCH=amd64 # labelprefix=%%LABELPREFIX%% PREFIXEDLABEL org.opencontainers.image.title="kubevirt libguestfs-tools container" @@ -42,13 +47,24 @@ mdadm \ parted \ qemu-tools \ - qemu-x86 \ reiserfs \ supermin \ xfsprogs \ xorriso \ - zerofree && \ - zypper -n remove kubevirt-manifests && \ + zerofree + +#!ArchExclusiveLine: x86_64 +RUN if [ "$TARGETARCH" = "amd64" ]; then \ + zypper -n install qemu-x86 ; \ + fi; + +# qemu-x86 is required on aarch64 to get the test to pass (allow fallback to non KVM mode) +#!ArchExclusiveLine: aarch64 +RUN if [ "$TARGETARCH" = "arm64" ]; then \ + zypper -n install qemu-arm qemu-uefi-aarch64 qemu-x86; \ + fi; + +RUN zypper -n remove kubevirt-manifests && \ zypper clean -a COPY entrypoint.sh /entrypoint.sh