Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opensuse-tumbleweed-image for 
openSUSE:Factory checked in at 2021-05-10 15:36:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opensuse-tumbleweed-image (Old)
 and      /work/SRC/openSUSE:Factory/.opensuse-tumbleweed-image.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opensuse-tumbleweed-image"

Mon May 10 15:36:46 2021 rev:14 rq:891034 version:1.0.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/opensuse-tumbleweed-image/opensuse-tumbleweed-image.changes
      2020-11-05 21:55:02.148168546 +0100
+++ 
/work/SRC/openSUSE:Factory/.opensuse-tumbleweed-image.new.2988/opensuse-tumbleweed-image.changes
    2021-05-10 15:39:13.385602782 +0200
@@ -1,0 +2,12 @@
+Wed Apr 28 08:50:14 UTC 2021 - Fabian Vogt <fv...@suse.com>
+
+- Delete lastlog to work around missing support for sparse files in
+  go's tar writing code
+
+-------------------------------------------------------------------
+Tue Mar  9 10:00:43 UTC 2021 - Fabian Vogt <fv...@suse.com>
+
+- Force the container's arch in zypp.conf on 32bit x86
+- openSUSE-release-appliance-docker is available meanwhile
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ config.kiwi ++++++
--- /var/tmp/diff_new_pack.xoNIhW/_old  2021-05-10 15:39:13.797601096 +0200
+++ /var/tmp/diff_new_pack.xoNIhW/_new  2021-05-10 15:39:13.797601096 +0200
@@ -82,7 +82,8 @@
     <!-- Only used in config.sh and then removed again -->
     <package name="live-add-yast-repos"/>
     <package name="openSUSE-build-key"/>
-    <package name="openSUSE-release-ftp"/>
+    <package name="openSUSE-release"/>
+    <package name="openSUSE-release-appliance-docker"/>
     <package name="netcfg"/>
     <package name="zypper"/>
   </packages>

++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.xoNIhW/_old  2021-05-10 15:39:13.865600818 +0200
+++ /var/tmp/diff_new_pack.xoNIhW/_new  2021-05-10 15:39:13.865600818 +0200
@@ -36,6 +36,22 @@
 # Remove zypp uuid (bsc#1098535)
 rm -f /var/lib/zypp/AnonymousUniqueId
 
+# Assign a fixed architecture in zypp.conf, to use the container's arch even if
+# the host arch differs (e.g. docker with --platform doesn't affect uname)
+arch=$(rpm -q --qf %{arch} glibc)
+if [ "$arch" = "i586" ] || [ "$arch" = "i686" ]; then
+       sed -i "s/^# arch =.*\$/arch = i686/" /etc/zypp/zypp.conf
+       # Verify that it's applied
+       grep -q '^arch =' /etc/zypp/zypp.conf
+fi
+
+if [[ "$kiwi_profiles" == *"docker"* ]]; then
+       # Hack! The go container management tools can't handle sparse files:
+       # https://github.com/golang/go/issues/13548
+       # When lastlog doesn't exist, useradd doesn't attempt to reserve space.
+       rm /var/log/lastlog
+fi
+
 if [[ "$kiwi_profiles" == *"networkd"* ]]; then
        systemctl enable systemd-networkd
        systemctl enable systemd-resolved

Reply via email to