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 2023-03-15 18:56:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-libguestfs-tools-container (Old)
 and      /work/SRC/openSUSE:Factory/.virt-libguestfs-tools-container.new.31432 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-libguestfs-tools-container"

Wed Mar 15 18:56:25 2023 rev:10 rq:1072100 version:unknown

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/virt-libguestfs-tools-container/virt-libguestfs-tools-container.changes
  2023-01-16 18:02:04.131882067 +0100
+++ 
/work/SRC/openSUSE:Factory/.virt-libguestfs-tools-container.new.31432/virt-libguestfs-tools-container.changes
       2023-03-15 18:56:32.089030365 +0100
@@ -1,0 +2,5 @@
+Thu Mar  2 18:15:49 UTC 2023 - Vasily Ulyanov <[email protected]>
+
+- Use qcow2 format to store the appliance rootfs
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.wcFR6v/_old  2023-03-15 18:56:32.693033578 +0100
+++ /var/tmp/diff_new_pack.wcFR6v/_new  2023-03-15 18:56:32.697033599 +0100
@@ -67,22 +67,26 @@
               zypper -n install qemu-arm qemu-uefi-aarch64 qemu-x86; \
               fi;
 
-RUN zypper -n remove kubevirt-manifests && \
+# Make a "fixed appliance" for libguestfs.
+# Note: the resulting 'appliance/root' is a sparse file. Docker does not
+# preserve sparseness hence it is converted to qcow2.
+RUN mkdir -p /usr/local/lib/guestfs/appliance && \
+    cd /usr/local/lib/guestfs/appliance && \
+    LIBGUESTFS_BACKEND=direct LIBGUESTFS_DEBUG=1 
libguestfs-make-fixed-appliance . && \
+    qemu-img convert -c -O qcow2 root root.qcow2 && \
+    mv root.qcow2 root && \
+    touch done && \
+    rm -rf /var/tmp/.guestfs-*
+
+RUN zypper -n remove --clean-deps \
+              kernel-kvmsmall \
+              kubevirt-manifests && \
     zypper clean -a && \
     useradd -u 1001 --create-home -s /bin/bash virt-libguestfs-tools
 
 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 && \
-    mv appliance-*.tar.xz appliance.tar.xz && \
-    rm -rf /var/tmp/.guestfs-*
-
 USER 1001
 ENTRYPOINT [ "/entrypoint.sh" ]
 

++++++ entrypoint.sh ++++++
--- /var/tmp/diff_new_pack.wcFR6v/_old  2023-03-15 18:56:32.741033833 +0100
+++ /var/tmp/diff_new_pack.wcFR6v/_new  2023-03-15 18:56:32.745033855 +0100
@@ -1,12 +1,4 @@
 #!/bin/bash -xe
 
-#KubeVirt provides LIBGUESTFS_PATH via the pod environemnt.
-LIBGUESTFS_PATH=${LIBGUESTFS_PATH:-/tmp/guestfs}
-LIBGUESTFS_APPLIANCE=/appliance.tar.xz
-
-mkdir -p ${LIBGUESTFS_PATH}
-tar -Jxf ${LIBGUESTFS_APPLIANCE} -C ${LIBGUESTFS_PATH} --strip-components=1
-touch ${LIBGUESTFS_PATH}/done
-
 /bin/bash
 

Reply via email to