Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openSUSE-MicroOS for 
openSUSE:Factory checked in at 2026-07-21 22:52:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-MicroOS (Old)
 and      /work/SRC/openSUSE:Factory/.openSUSE-MicroOS.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openSUSE-MicroOS"

Tue Jul 21 22:52:58 2026 rev:101 rq:1366790 version:16.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/openSUSE-MicroOS/openSUSE-MicroOS.changes        
2026-04-10 17:52:43.325112664 +0200
+++ 
/work/SRC/openSUSE:Factory/.openSUSE-MicroOS.new.24530/openSUSE-MicroOS.changes 
    2026-07-21 22:52:59.390523346 +0200
@@ -1,0 +2,11 @@
+Mon Jul 20 12:08:13 UTC 2026 - Fabian Vogt <[email protected]>
+
+- disk.sh: Simplify snapper configuration and add assertion for the
+  setup done by kiwi
+
+-------------------------------------------------------------------
+Tue Jul 14 13:45:10 UTC 2026 - Fabian Vogt <[email protected]>
+
+- Move snapper configuration from config.sh to disk.sh (boo#1259633)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.CS29oo/_old  2026-07-21 22:53:00.210551272 +0200
+++ /var/tmp/diff_new_pack.CS29oo/_new  2026-07-21 22:53:00.214551407 +0200
@@ -63,25 +63,6 @@
 fi
 
 #=====================================
-# Configure snapper
-#-------------------------------------
-if [ -x /usr/bin/snapper ]; then
-       echo "creating initial snapper config ..."
-       cp /etc/snapper/config-templates/default /etc/snapper/configs/root \
-               || cp /usr/share/snapper/config-templates/default 
/etc/snapper/configs/root
-       baseUpdateSysConfig /etc/sysconfig/snapper SNAPPER_CONFIGS root
-
-       # Adjust parameters
-       sed -i'' 's/^TIMELINE_CREATE=.*$/TIMELINE_CREATE="no"/g' 
/etc/snapper/configs/root
-       sed -i'' 's/^NUMBER_LIMIT=.*$/NUMBER_LIMIT="2-10"/g' 
/etc/snapper/configs/root
-       sed -i'' 
's/^NUMBER_LIMIT_IMPORTANT=.*$/NUMBER_LIMIT_IMPORTANT="4-10"/g' 
/etc/snapper/configs/root
-else
-       # Avoid boo#1237466 from reoccuring
-       echo "snapper not installed?"
-       exit 1
-fi
-
-#=====================================
 # Enable chrony if installed
 #-------------------------------------
 if [ -f /etc/chrony.conf ]; then

++++++ disk.sh ++++++
--- /var/tmp/diff_new_pack.CS29oo/_old  2026-07-21 22:53:00.238552225 +0200
+++ /var/tmp/diff_new_pack.CS29oo/_new  2026-07-21 22:53:00.246552498 +0200
@@ -1,11 +1,15 @@
 #!/bin/bash
 set -euxo pipefail
 
+echo "Setting up /etc as subvolume"
 /usr/libexec/setup-etc-subvol
 
-echo "####### BOOTLOADER INSTALL (disk.sh)"
+echo "Adjusting snapper configuration"
+grep -E '^SNAPPER_CONFIGS="root"' /etc/sysconfig/snapper # assert that kiwi 
created and registered the default config
+snapper --no-dbus set-config TIMELINE_CREATE=no NUMBER_LIMIT=2-10 
NUMBER_LIMIT_IMPORTANT=4-10
 
 if [ -x /usr/bin/sdbootutil ]; then
+       echo "Installing bootloader using sdbootutil"
        arch="$(uname -m)"
        case "$arch" in
                aarch64) arch=aa64 ;;
@@ -40,5 +44,3 @@
        find /boot
 fi
 
-echo "####### END BOOTLOADER INSTALL (disk.sh)"
-

Reply via email to