Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package suse-module-tools for openSUSE:Factory checked in at 2025-10-08 18:13:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-module-tools (Old) and /work/SRC/openSUSE:Factory/.suse-module-tools.new.11973 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-module-tools" Wed Oct 8 18:13:36 2025 rev:91 rq:1309643 version:16.0.61 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-module-tools/suse-module-tools.changes 2025-05-23 14:30:42.996993015 +0200 +++ /work/SRC/openSUSE:Factory/.suse-module-tools.new.11973/suse-module-tools.changes 2025-10-08 18:14:34.690546883 +0200 @@ -1,0 +2,7 @@ +Tue Oct 7 13:34:07 UTC 2025 - Martin Wilck <[email protected]> + +- Update to version 16.0.61: + * weak-modules2: skip livepatch dir when checking for unresolved symbols + (bsc#1250655) + +------------------------------------------------------------------- Old: ---- suse-module-tools-16.0.60.obscpio New: ---- suse-module-tools-16.0.61.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-module-tools.spec ++++++ --- /var/tmp/diff_new_pack.01S4PR/_old 2025-10-08 18:14:36.094605804 +0200 +++ /var/tmp/diff_new_pack.01S4PR/_new 2025-10-08 18:14:36.094605804 +0200 @@ -1,7 +1,7 @@ # # spec file for package suse-module-tools # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,7 +15,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +# Location for modprobe and depmod .conf files +# +# This assumes post-usr-merge (20210527) for Tumbleweed %global modprobe_dir /usr/lib/modprobe.d %global depmod_dir /usr/lib/depmod.d %global dracutlibdir %{_prefix}/lib/dracut @@ -35,7 +37,7 @@ %global modprobe_conf_rpmsave %(echo "%{modprobe_conf_files}" | sed 's,\\([^ ]*\\),%{_sysconfdir}/modprobe.d/\\1.conf.rpmsave,g') Name: suse-module-tools -Version: 16.0.60 +Version: 16.0.61 Release: 0 Summary: Configuration for module loading and SUSE-specific utilities for KMPs License: GPL-2.0-or-later @@ -49,8 +51,8 @@ Requires: /usr/bin/sed Requires: coreutils Requires: findutils -Requires: rpm Requires: systemd-rpm-macros +Requires: rpm Requires: util-linux Requires(post): /usr/bin/grep Requires(post): /usr/bin/sed @@ -77,12 +79,13 @@ uninstallation, as well as default configuration files for depmod and modprobe. + %package scriptlets Summary: Kernel rpm scriptlets Provides: suse-kernel-rpm-scriptlets = 0 Requires: suse-module-tools = %{version} -Provides: sdbootutil-rpm-scriptlets = 2.0 Provides: suse-module-tools:/usr/lib/module-init-tools/kernel-scriptlets +Provides: sdbootutil-rpm-scriptlets = 2.0 Obsoletes: sdbootutil-rpm-scriptlets < 2.0 %description scriptlets @@ -245,7 +248,6 @@ %ifarch ppc64 ppc64le /usr/lib/systemd/system-generators %endif - # %files scriptlets /usr/lib/module-init-tools/kernel-scriptlets ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.01S4PR/_old 2025-10-08 18:14:36.150608154 +0200 +++ /var/tmp/diff_new_pack.01S4PR/_new 2025-10-08 18:14:36.158608490 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/suse-module-tools.git</param> - <param name="changesrevision">db5c2837fc8f80349f9d29880158814feebbe52a</param></service></servicedata> + <param name="changesrevision">f53df29d14c1559737b6b0b12347cbf605a3c409</param></service></servicedata> (No newline at EOF) ++++++ suse-module-tools-16.0.60.obscpio -> suse-module-tools-16.0.61.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-module-tools-16.0.60/suse-module-tools.spec new/suse-module-tools-16.0.61/suse-module-tools.spec --- old/suse-module-tools-16.0.60/suse-module-tools.spec 2025-05-14 22:53:03.000000000 +0200 +++ new/suse-module-tools-16.0.61/suse-module-tools.spec 2025-10-07 15:19:53.000000000 +0200 @@ -37,7 +37,7 @@ %global modprobe_conf_rpmsave %(echo "%{modprobe_conf_files}" | sed 's,\\([^ ]*\\),%{_sysconfdir}/modprobe.d/\\1.conf.rpmsave,g') Name: suse-module-tools -Version: 16.0.60 +Version: 16.0.61 Release: 0 Summary: Configuration for module loading and SUSE-specific utilities for KMPs License: GPL-2.0-or-later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-module-tools-16.0.60/weak-modules2 new/suse-module-tools-16.0.61/weak-modules2 --- old/suse-module-tools-16.0.60/weak-modules2 2025-05-14 22:53:03.000000000 +0200 +++ new/suse-module-tools-16.0.61/weak-modules2 2025-10-07 15:19:53.000000000 +0200 @@ -233,6 +233,7 @@ eval "$(find $modules_dir -path "$modules_dir/modules.*" -prune \ -o -path "$modules_dir/kernel" -prune \ + -o -path "$modules_dir/livepatch" -prune \ -o -type d -printf "mkdir -p $opt_v $basedir%p\n" \ -o -printf "ln -s $opt_v %p $basedir%p\n" )" @@ -302,7 +303,6 @@ local old_kmp=$1 new_kmp=$2 krel=$3 local basedir=$tmpdir/$krel - local weak_updates=/usr/lib/modules/$krel/weak-updates/ [ -d "$basedir" ] || \ create_temporary_modules_dir "$krel" "$basedir" @@ -390,6 +390,32 @@ dlog "find_kmps: kmps found: " $(cat $tmpdir/kmps) } +# Whether a given KMP can be installed is checked in can_replace_kmp(), +# which should actually have been called can_install_kmp(). +# One test is basenames_are_unique(). This test would always fail +# if any module in $new_kmp was contained in any other already +# installed KMP. But KMP updates must be possible. Therefore symlinks for +# at most one such older version of $new_kmp can be removed for $krel in +# can_replace_kmp() before trying to adding symlinks to $new_kmp. +# This avoids duplicate module names. +# +# previous_version_of_kmp() tries to find a candidate for this older +# version. It will only return a candidate if all these conditions are +# fulfilled: +# +# a) the paths that will be symlinks to $new_kmp modules must be symlinks +# already (don't replace regular files). +# b) the package names of $old_kmp and $new_kmp must be equal +# ("Obsoletes:" won't work). +# c) all current symlinks must point to an older version of the KMP +# (note: $tmpdir/kmps contains the KMPs in reverse rpmsort order). +# +# The function does not bother with checking if $old_kmp is unique. +# No more than one will be returned anyway. If the symlinks for $krel point +# to files from different KMPs (shouldn't happen), only one +# of them will be a candidate for removal, and can_replace_kmp() will +# fail. + __previous_version_of_kmp() { local new_kmp=$1 krel=$2 local module symlink old_kmp ++++++ suse-module-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.01S4PR/_old 2025-10-08 18:14:36.414619233 +0200 +++ /var/tmp/diff_new_pack.01S4PR/_new 2025-10-08 18:14:36.418619401 +0200 @@ -1,5 +1,5 @@ name: suse-module-tools -version: 16.0.60 -mtime: 1747255983 -commit: db5c2837fc8f80349f9d29880158814feebbe52a +version: 16.0.61 +mtime: 1759843193 +commit: f53df29d14c1559737b6b0b12347cbf605a3c409
