Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package cdi-importer-container for
openSUSE:Factory checked in at 2022-01-19 00:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cdi-importer-container (Old)
and /work/SRC/openSUSE:Factory/.cdi-importer-container.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdi-importer-container"
Wed Jan 19 00:35:25 2022 rev:5 rq:947224 version:unknown
Changes:
--------
---
/work/SRC/openSUSE:Factory/cdi-importer-container/cdi-importer-container.changes
2021-06-14 23:11:23.996784561 +0200
+++
/work/SRC/openSUSE:Factory/.cdi-importer-container.new.1892/cdi-importer-container.changes
2022-01-19 00:35:58.814324102 +0100
@@ -1,0 +2,6 @@
+Mon Jan 10 10:53:09 UTC 2022 - Guillaume GARDET <[email protected]>
+
+- Handle aarch64
+- Enable build only on aarch64 and x86_64
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.VMGgZd/_old 2022-01-19 00:35:59.218324390 +0100
+++ /var/tmp/diff_new_pack.VMGgZd/_new 2022-01-19 00:35:59.218324390 +0100
@@ -3,11 +3,16 @@
#!BuildTag: %%TAGPREFIX%%/cdi-importer:%%PKG_VERSION%%.%RELEASE%
#!BuildTag: %%TAGPREFIX%%/cdi-importer:%%PKG_VERSION%%-%%PKG_RELEASE%%
+#!ExclusiveArch: x86_64 aarch64
+
# cdi-importer 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="CDI Data fetching service
container"
@@ -20,9 +25,16 @@
RUN zypper -n install \
qemu-tools qemu-block-curl skopeo tar util-linux \
nbdkit nbdkit-basic-filters nbdkit-gzip-filter \
- nbdkit-xz-filter nbdkit-curl-plugin nbdkit-vddk-plugin \
- containerized-data-importer-importer && \
- zypper clean -a
+ nbdkit-xz-filter nbdkit-curl-plugin \
+ containerized-data-importer-importer
+
+# nbdkit-vddk-plugin is available only on x86_64
+#!ArchExclusiveLine: x86_64
+RUN if [ "$TARGETARCH" = "amd64" ]; then \
+ zypper -n install nbdkit-vddk-plugin ; \
+ fi;
+
+RUN zypper clean -a
ENTRYPOINT [ "/usr/bin/virt-cdi-importer", "-alsologtostderr" ]