Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libcontainers-common for 
openSUSE:Factory checked in at 2022-11-29 10:52:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcontainers-common (Old)
 and      /work/SRC/openSUSE:Factory/.libcontainers-common.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcontainers-common"

Tue Nov 29 10:52:25 2022 rev:52 rq:1038665 version:20221122

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libcontainers-common/libcontainers-common.changes    
    2022-11-27 12:53:01.571205910 +0100
+++ 
/work/SRC/openSUSE:Factory/.libcontainers-common.new.1597/libcontainers-common.changes
      2022-11-29 10:52:26.608512185 +0100
@@ -1,0 +2,7 @@
+Mon Nov 28 09:08:11 UTC 2022 - Dirk Müller <[email protected]>
+
+- add requires on util-linux-systemd for findmnt in profile script
+- only set storage_driver env when no libpod exists
+- avoid quoting issue
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libcontainers-common.spec ++++++
--- /var/tmp/diff_new_pack.eASh7N/_old  2022-11-29 10:52:27.248515548 +0100
+++ /var/tmp/diff_new_pack.eASh7N/_new  2022-11-29 10:52:27.252515569 +0100
@@ -45,6 +45,7 @@
 BuildRequires:  go-go-md2man
 Requires(post): %{_bindir}/grep
 Requires(post): %{_bindir}/sed
+Requires:       util-linux-systemd
 Requires(post): util-linux-systemd
 Provides:       libcontainers-image = %{version}
 Provides:       libcontainers-storage = %{version}

++++++ container-storage-driver.sh ++++++
--- /var/tmp/diff_new_pack.eASh7N/_old  2022-11-29 10:52:27.320515926 +0100
+++ /var/tmp/diff_new_pack.eASh7N/_new  2022-11-29 10:52:27.320515926 +0100
@@ -1,6 +1,8 @@
 if test "$(id -u)" -gt "0" && test -d "$HOME"; then
-    if test ! -e "$HOME"/.config/containers/storage.conf && grep -qx "driver = 
.*btrfs.*" /etc/containers/storage.conf ; then
-        if test "$(findmnt -o FSTYPE -l --target '$HOME' | grep -v FSTYPE)" != 
"btrfs"; then
+    if test ! -e "$HOME"/.config/containers/storage.conf && \
+            test ! -e "$HOME"/.local/share/containers/storage/libpod && \
+            grep -qx "driver = .*btrfs.*" /etc/containers/storage.conf ; then
+        if test "$(findmnt -o FSTYPE -l --target "$HOME" | grep -v FSTYPE)" != 
"btrfs"; then
             # Home partition is not btrfs, but system wide setting is to use 
btrfs, this won't work
             # default to 'overlay' then
             export STORAGE_DRIVER=overlay

Reply via email to