Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package transactional-update for 
openSUSE:Factory checked in at 2025-06-13 18:42:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Fri Jun 13 18:42:49 2025 rev:118 rq:1285178 version:5.0.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2025-05-06 16:39:34.415516154 +0200
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.19631/transactional-update.changes
     2025-06-13 18:43:10.005262877 +0200
@@ -1,0 +2,8 @@
+Thu Jun 12 14:05:51 UTC 2025 - Fabian Vogt <fv...@suse.com>
+
+- Version 5.0.4
+  - Don't override soft-reboot with hard reboot
+  - Fix stdio when returning from selfupdate [boo#1243910],
+    [gh#openSUSE/transactional-update#151]
+
+-------------------------------------------------------------------

Old:
----
  transactional-update-5.0.3.tar.gz

New:
----
  transactional-update-5.0.4.tar.gz

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.IaTLXt/_old  2025-06-13 18:43:10.633288220 +0200
+++ /var/tmp/diff_new_pack.IaTLXt/_new  2025-06-13 18:43:10.637288381 +0200
@@ -26,7 +26,7 @@
 %{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}}
 
 Name:           transactional-update
-Version:        5.0.3
+Version:        5.0.4
 Release:        0
 Summary:        Transactional Updates with btrfs and snapshots
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later

++++++ transactional-update-5.0.3.tar.gz -> transactional-update-5.0.4.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-5.0.3/NEWS 
new/transactional-update-5.0.4/NEWS
--- old/transactional-update-5.0.3/NEWS 2025-04-24 14:14:23.000000000 +0200
+++ new/transactional-update-5.0.4/NEWS 2025-06-12 16:03:48.000000000 +0200
@@ -2,6 +2,10 @@
 
 Copyright (C) 2016-2025 Thorsten Kukuk, Ignaz Forster et al.
 
+Version 5.0.4 (2025-06-12)
+* Don't override soft-reboot with hard reboot
+* Fix stdio when returning from selfupdate
+
 Version 5.0.3 (2025-04-24)
 * When continuing a transaction that was based on the running
   system, sync new changes from /etc into the new snapshot.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-5.0.3/configure.ac 
new/transactional-update-5.0.4/configure.ac
--- old/transactional-update-5.0.3/configure.ac 2025-04-24 14:14:23.000000000 
+0200
+++ new/transactional-update-5.0.4/configure.ac 2025-06-12 16:03:48.000000000 
+0200
@@ -1,11 +1,11 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT([transactional-update],[5.0.3])
+AC_INIT([transactional-update],[5.0.4])
 # Increase on any interface change and reset revision
 LIBTOOL_CURRENT=6
 # On interface change increase if backwards compatible, reset otherwise
 LIBTOOL_AGE=2
 # Increase on *any* C/C++ library code change, reset at interface change
-LIBTOOL_REVISION=6
+LIBTOOL_REVISION=7
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE([foreign])
 AC_CONFIG_FILES([tukit.pc])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/transactional-update-5.0.3/sbin/transactional-update.in 
new/transactional-update-5.0.4/sbin/transactional-update.in
--- old/transactional-update-5.0.3/sbin/transactional-update.in 2025-04-24 
14:14:23.000000000 +0200
+++ new/transactional-update-5.0.4/sbin/transactional-update.in 2025-06-12 
16:03:48.000000000 +0200
@@ -836,7 +836,7 @@
         rm -rf "${TA_UPDATE_TMPFILE}"
         unset TA_UPDATE_TMPFILE
         unset LD_LIBRARY_PATH
-        exec transactional-update --no-selfupdate "${ORIG_ARGS[@]}"
+        exec transactional-update --no-selfupdate "${ORIG_ARGS[@]}" 
1>&${origstdout} 2>&${origstderr}
     elif "${TA_UPDATE_TMPFILE}"/usr/sbin/tukit --version >/dev/null; then
         # tukit is executable - use new version
         export PATH="${TA_UPDATE_TMPFILE}/usr/sbin:${PATH}"
@@ -849,7 +849,7 @@
         rm -rf "${TA_UPDATE_TMPFILE}"
         unset TA_UPDATE_TMPFILE
         unset LD_LIBRARY_PATH
-        exec transactional-update --no-selfupdate "${ORIG_ARGS[@]}"
+        exec transactional-update --no-selfupdate "${ORIG_ARGS[@]}" 
1>&${origstdout} 2>&${origstderr}
     fi
 fi
 
@@ -1230,9 +1230,13 @@
             fi
             EXITCODE=1
         fi
-        # If zypp-boot-plugin is available and didn't return anything, then 
soft-reboot is enough
-        if rpm --quiet -q zypp-boot-plugin && [ ! -e 
"${NEEDS_RESTARTING_FILE}" ] ; then
-            set_reboot_level "soft-reboot"
+        if rpm --quiet -q zypp-boot-plugin ; then
+            # If zypp-boot-plugin is available and didn't return anything, 
then soft-reboot is enough
+            if [ ! -e "${NEEDS_RESTARTING_FILE}" ] ; then
+                set_reboot_level "soft-reboot"
+           else
+                set_reboot_level "$(cat "${NEEDS_RESTARTING_FILE}")"
+           fi
         else
             set_reboot_level "reboot"
         fi

Reply via email to