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-01-04 21:03:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-libguestfs-tools-container (Old)
and /work/SRC/openSUSE:Factory/.virt-libguestfs-tools-container.new.1896
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-libguestfs-tools-container"
Tue Jan 4 21:03:09 2022 rev:2 rq:943762 version:unknown
Changes:
--------
---
/work/SRC/openSUSE:Factory/virt-libguestfs-tools-container/virt-libguestfs-tools-container.changes
2021-08-10 10:28:14.249758897 +0200
+++
/work/SRC/openSUSE:Factory/.virt-libguestfs-tools-container.new.1896/virt-libguestfs-tools-container.changes
2022-01-04 21:03:10.653831599 +0100
@@ -1,0 +2,6 @@
+Mon Jan 3 12:49:43 UTC 2022 - Vasily Ulyanov <[email protected]>
+
+- Make a "fixed appliance" for libguestfs
+- Explicitly install libguestfs{,-devel} and supermin
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.tEpFXM/_old 2022-01-04 21:03:11.305832081 +0100
+++ /var/tmp/diff_new_pack.tEpFXM/_new 2022-01-04 21:03:11.309832084 +0100
@@ -30,11 +30,14 @@
jfsutils \
kernel-kvmsmall \
ldmtool \
+ libguestfs \
+ libguestfs-devel \
mdadm \
parted \
qemu-tools \
qemu-x86 \
reiserfs \
+ supermin \
xfsprogs \
xorriso \
zerofree && \
@@ -43,5 +46,13 @@
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh
+# Make a "fixed appliance" for libguestfs.
+# Note: the resulting 'appliance/root' is a sparse file. Docker does not
+# preserve sparseness hence a compressed tarball is created.
+RUN LIBGUESTFS_BACKEND=direct \
+ LIBGUESTFS_DEBUG=1 \
+ libguestfs-make-fixed-appliance --xz && \
+ rm -rf /var/tmp/.guestfs-*
+
ENTRYPOINT [ "/entrypoint.sh" ]
++++++ entrypoint.sh ++++++
--- /var/tmp/diff_new_pack.tEpFXM/_old 2022-01-04 21:03:11.337832105 +0100
+++ /var/tmp/diff_new_pack.tEpFXM/_new 2022-01-04 21:03:11.341832108 +0100
@@ -1,8 +1,13 @@
#!/bin/bash -xe
-# KubeVirt will provide LIBGUESTFS_PATH via the pod environemnt. Unset it so
the
-# default search paths are used.
-unset LIBGUESTFS_PATH
+#KubeVirt provides LIBGUESTFS_PATH via the pod environemnt.
+DIR=/usr/local/lib/guestfs
+LIBGUESTFS_VERSION=$(rpm -q --queryformat=%{version} libguestfs)
+LIBGUESTFS_APPLIANCE=/appliance-${LIBGUESTFS_VERSION}.tar.xz
+
+mkdir -p ${DIR}
+tar -Jxf ${LIBGUESTFS_APPLIANCE} -C ${DIR}
+touch ${DIR}/done
/bin/bash