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 2023-06-29 17:27:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Thu Jun 29 17:27:38 2023 rev:100 rq:1095846 version:4.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2023-05-10 16:16:46.150351701 +0200
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.13546/transactional-update.changes
     2023-06-29 17:27:56.110121121 +0200
@@ -1,0 +2,12 @@
+Wed Jun 28 15:01:34 UTC 2023 - Ignaz Forster <[email protected]>
+
+- Version 4.3.0
+  - Replace custom tu-rebuild-kdump-initrd with call to mkdumprd
+    [gh#openSUSE/transactional-update#107].
+  - Add support for libmount 2.39. The behaviour change was not
+    intended and will be changed in 2.39.1 (see
+    [gh#util-linux/util-linux#2326], but it was easy to fix it
+    anyway.
+  - Honor LIBMOUNT_DEBUG variable for additional output.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.4eNbmO/_old  2023-06-29 17:27:57.426128830 +0200
+++ /var/tmp/diff_new_pack.4eNbmO/_new  2023-06-29 17:27:57.430128854 +0200
@@ -26,7 +26,7 @@
 %{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}}
 
 Name:           transactional-update
-Version:        4.2.1
+Version:        4.3.0
 Release:        0
 Summary:        Transactional Updates with btrfs and snapshots
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -272,7 +272,6 @@
 %{_unitdir}/transactional-update-cleanup.service
 %{_unitdir}/transactional-update-cleanup.timer
 %{_sbindir}/transactional-update
-%{_sbindir}/tu-rebuild-kdump-initrd
 %if %{?suse_version} <= 1500
 %dir %{_distconfdir}
 %endif

++++++ transactional-update-4.2.1.tar.gz -> transactional-update-4.3.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-4.2.1/NEWS 
new/transactional-update-4.3.0/NEWS
--- old/transactional-update-4.2.1/NEWS 2023-05-09 14:44:34.000000000 +0200
+++ new/transactional-update-4.3.0/NEWS 2023-06-28 16:55:05.000000000 +0200
@@ -2,6 +2,14 @@
 
 Copyright (C) 2016-2022 Thorsten Kukuk, Ignaz Forster et al.
 
+Version 4.3.0
+* Replace custom tu-rebuild-kdump-initrd with call to mkdumprd
+  [gh#openSUSE/transactional-update#107].
+* Add support for libmount 2.39. The behaviour change was not intended
+  and will be changed in 2.39.1 (see [gh#util-linux/util-linux#2326],
+  but it was easy to fix it anyway.
+* Honor LIBMOUNT_DEBUG variable for additional output.
+
 Version 4.2.1
 * Add backwards compatibility with older snapper releases, otherwise
   the selfupdate may break if the installed snapper version is too old;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-4.2.1/configure.ac 
new/transactional-update-4.3.0/configure.ac
--- old/transactional-update-4.2.1/configure.ac 2023-05-09 14:44:34.000000000 
+0200
+++ new/transactional-update-4.3.0/configure.ac 2023-06-28 16:55:05.000000000 
+0200
@@ -1,11 +1,11 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 4.2.1)
+AC_INIT(transactional-update, 4.3.0)
 # Increase on any interface change and reset revision
 LIBTOOL_CURRENT=4
 # On interface change increase if backwards compatible, reset otherwise
 LIBTOOL_AGE=0
 # Increase on *any* C/C++ library code change, reset at interface change
-LIBTOOL_REVISION=5
+LIBTOOL_REVISION=6
 AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE([foreign])
 AC_CONFIG_FILES([tukit.pc])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-4.2.1/lib/Mount.cpp 
new/transactional-update-4.3.0/lib/Mount.cpp
--- old/transactional-update-4.2.1/lib/Mount.cpp        2023-05-09 
14:44:34.000000000 +0200
+++ new/transactional-update-4.3.0/lib/Mount.cpp        2023-06-28 
16:55:05.000000000 +0200
@@ -17,6 +17,7 @@
     : mnt_table{mnt_new_table()}, mountpoint{std::move(mountpoint)},
       flags{std::move(flags)}, umount{std::move(umount)}
 {
+    mnt_init_debug(0);
 }
 
 Mount::Mount(Mount&& other) noexcept
@@ -180,6 +181,10 @@
         throw std::runtime_error{"Setting mount context for '" + mountpoint + 
"' failed: " + std::to_string(rc)};
     }
 
+    if ((rc = mnt_context_set_options(mnt_cxt, mnt_fs_get_options(mnt_fs))) != 
0) {
+        throw std::runtime_error{"Setting options for '" + mountpoint + "' 
failed: " + std::to_string(rc)};
+    }
+
     if ((rc = mnt_context_set_mflags(mnt_cxt, flags)) != 0) {
         throw std::runtime_error{"Setting mount flags for '" + mountpoint + "' 
failed: " + std::to_string(rc)};
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-4.2.1/sbin/Makefile.am 
new/transactional-update-4.3.0/sbin/Makefile.am
--- old/transactional-update-4.2.1/sbin/Makefile.am     2023-05-09 
14:44:34.000000000 +0200
+++ new/transactional-update-4.3.0/sbin/Makefile.am     2023-06-28 
16:55:05.000000000 +0200
@@ -2,13 +2,13 @@
 # Copyright (c) 2016, 2017 Thorsten Kukuk <[email protected]>
 #
 
-sbin_SCRIPTS = transactional-update tu-rebuild-kdump-initrd
+sbin_SCRIPTS = transactional-update
 sbin_PROGRAMS = create_dirs_from_rpmdb
 create_dirs_from_rpmdb_SOURCES = create_dirs_from_rpmdb.c
 create_dirs_from_rpmdb_CFLAGS = $(LIBRPM_CFLAGS) $(SELINUX_CFLAGS)
 create_dirs_from_rpmdb_LDFLAGS = $(LIBRPM_LIBS) $(SELINUX_LIBS)
 CLEANFILES = transactional-update
-EXTRA_DIST = transactional-update.in tu-rebuild-kdump-initrd
+EXTRA_DIST = transactional-update.in
 
 do_subst = sed -e 's,[@]sysconfdir[@],$(sysconfdir),g' \
        -e 's,[@]prefix[@],$(prefix),g' \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/transactional-update-4.2.1/sbin/transactional-update.in 
new/transactional-update-4.3.0/sbin/transactional-update.in
--- old/transactional-update-4.2.1/sbin/transactional-update.in 2023-05-09 
14:44:34.000000000 +0200
+++ new/transactional-update-4.3.0/sbin/transactional-update.in 2023-06-28 
16:55:05.000000000 +0200
@@ -247,8 +247,8 @@
 rebuild_kdump_initrd() {
     test -f "/.snapshots/$1/snapshot/usr/lib/systemd/system/kdump.service" || 
return 0
     tukit -q call "$1" systemctl is-enabled --quiet kdump.service
-    if [ $? = 0 -a -x 
"/.snapshots/$1/snapshot/usr/sbin/tu-rebuild-kdump-initrd" ]; then
-       tukit ${TUKIT_OPTS} call "$1" /usr/sbin/tu-rebuild-kdump-initrd |& tee 
-a ${LOGFILE} 1>&${origstdout}
+    if [ $? = 0 -a -x "/.snapshots/$1/snapshot/sbin/mkdumprd" ]; then
+       tukit ${TUKIT_OPTS} call "$1" /sbin/mkdumprd |& tee -a ${LOGFILE} 
1>&${origstdout}
     fi
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/transactional-update-4.2.1/sbin/tu-rebuild-kdump-initrd 
new/transactional-update-4.3.0/sbin/tu-rebuild-kdump-initrd
--- old/transactional-update-4.2.1/sbin/tu-rebuild-kdump-initrd 2023-05-09 
14:44:34.000000000 +0200
+++ new/transactional-update-4.3.0/sbin/tu-rebuild-kdump-initrd 1970-01-01 
01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-#! /bin/bash
-#
-#  Copyright Thorsten Kukuk <[email protected]>
-#  Copyright Petr Tesarik <[email protected]>
-#
-# Based on load.sh --update from kdump package
-
-KDUMPTOOL=/usr/sbin/kdumptool
-
-EFI_SYSTAB=/sys/firmware/efi/systab
-FADUMP_ENABLED=/sys/kernel/fadump_enabled
-FADUMP_REGISTERED=/sys/kernel/fadump_registered
-
-#
-# Find the desired kernel and initrd
-function find_kernel()
-{
-    local output=$($KDUMPTOOL find_kernel)
-    test $? -eq 0 || return 1
-
-    kdump_kernel=$(echo "$output" | grep ^Kernel | cut -f 2)
-    kdump_initrd=$(echo "$output" | grep ^Initrd | cut -f 2)
-
-    return 0
-}
-
-#
-# Rebuild the kdump initramfs if necessary
-function rebuild_kdumprd()
-{
-    local output=$(mkdumprd -K "$kdump_kernel" -I "$kdump_initrd" 2>&1)
-    if [ $? -ne 0 ] ; then
-       echo "$output"
-       return 1
-    fi
-    if [ ! -e "$kdump_kernel" ]; then
-        echo "$kdump_kernel does not exist!"
-       return 1
-    fi
-    if [ ! -e "$kdump_initrd" ]; then
-        echo "$kdump_initrd does not exist!"
-        return 1
-    fi
-
-    return 0
-}
-
-############################################################
-# MAIN PROGRAM STARTS HERE
-#
-
-find_kernel || exit 6
-rebuild_kdumprd || exit 1
-exit 0

Reply via email to