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 2021-09-08 21:36:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Wed Sep  8 21:36:30 2021 rev:76 rq:917087 version:3.5.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2021-09-02 23:20:11.224543927 +0200
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.1899/transactional-update.changes
      2021-09-08 21:36:42.381894793 +0200
@@ -1,0 +2,7 @@
+Mon Sep  6 10:04:50 UTC 2021 - Ignaz Forster <ifors...@suse.com>
+
+- Version 3.5.3
+  - t-u: Purge kernels as part of package operations
+    Required for live patching support [bsc#1189728]
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.XYFG7n/_old  2021-09-08 21:36:42.797895276 +0200
+++ /var/tmp/diff_new_pack.XYFG7n/_new  2021-09-08 21:36:42.801895281 +0200
@@ -26,7 +26,7 @@
 %{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}}
 
 Name:           transactional-update
-Version:        3.5.2
+Version:        3.5.3
 Release:        0
 Summary:        Transactional Updates with btrfs and snapshots
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later

++++++ transactional-update-3.5.2.tar.gz -> transactional-update-3.5.3.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-3.5.2/NEWS 
new/transactional-update-3.5.3/NEWS
--- old/transactional-update-3.5.2/NEWS 2021-08-31 11:53:58.000000000 +0200
+++ new/transactional-update-3.5.3/NEWS 2021-09-06 12:03:01.000000000 +0200
@@ -2,6 +2,10 @@
 
 Copyright (C) 2016-2020 Thorsten Kukuk, Ignaz Forster et al.
 
+Version 3.5.3
+* t-u: Purge kernels as part of package operations
+  Required for live patching support [bsc#1189728]
+
 Version 3.5.2
 * tukit: Fix overlay syncing errors with SELinux [bsc#1188648]
   "Transactional update fails with SELinux enabled: rsync: rsync_xal_set:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-3.5.2/configure.ac 
new/transactional-update-3.5.3/configure.ac
--- old/transactional-update-3.5.2/configure.ac 2021-08-31 11:53:58.000000000 
+0200
+++ new/transactional-update-3.5.3/configure.ac 2021-09-06 12:03:01.000000000 
+0200
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 3.5.2)
+AC_INIT(transactional-update, 3.5.3)
 # Increase on any interface change and reset revision
 LIBTOOL_CURRENT=3
 # Increase or reset on any VERSION update
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/transactional-update-3.5.2/sbin/transactional-update.in 
new/transactional-update-3.5.3/sbin/transactional-update.in
--- old/transactional-update-3.5.2/sbin/transactional-update.in 2021-08-31 
11:53:58.000000000 +0200
+++ new/transactional-update-3.5.3/sbin/transactional-update.in 2021-09-06 
12:03:01.000000000 +0200
@@ -1328,6 +1328,7 @@
            PACKAGE_UPDATES=`grep "install-summary download-size" ${TMPFILE} | 
sed -e 's|.*install-summary download-size=\"\(.*\)\" space-usage-diff.*|\1|g'`
            SIZE_OF_UPDATES=`grep "install-summary.*space-usage-diff" 
${TMPFILE} | sed -e 
's|.*install-summary.*space-usage-diff=\"\([^"]*\)\".*|\1|g'`
            NUM_OF_UPDATES=`grep "install-summary.*packages-to-change" 
${TMPFILE} | sed -e 
's|.*install-summary.*packages-to-change=\"\([^"]*\)\".*|\1|g'`
+           INCLUDES_KERNEL_PACKAGES=`grep 'solvable.*type="package"' 
${TMPFILE} | grep 'name="kernel-'`
            rm -f ${TMPFILE}
            
TELEM_PAYLOAD="${TELEM_PAYLOAD}\npackages=${NUM_OF_UPDATES}\ndownload_size=${PACKAGE_UPDATES}\nspace-usage=${SIZE_OF_UPDATES}"
            if [ "${NUM_OF_UPDATES}" = "0" ] || [ -z "${NUM_OF_UPDATES}" -a 
"${PACKAGE_UPDATES}" = "0" -a "${SIZE_OF_UPDATES}" = "0" ]; then
@@ -1338,6 +1339,9 @@
            export DISABLE_RESTART_ON_UPDATE=yes
            ${zypper_cmd} ${ZYPPER_ARG} ${ZYPPER_NONINTERACTIVE} 
"${ZYPPER_ARG_PKGS[@]}" |& tee -a ${LOGFILE}
            RETVAL=${PIPESTATUS[0]}
+           if [ $RETVAL -eq 0 -a -n "${INCLUDES_KERNEL_PACKAGES}" ]; then
+               ${zypper_cmd} -n purge-kernels |& tee -a ${LOGFILE}
+           fi
        fi
        # in case of migration, we need to do a little bit more:
        if [ ${DO_MIGRATION} -eq 1 ]; then

Reply via email to