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 2026-09-04 12:36:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-module-tools (Old)
and /work/SRC/openSUSE:Factory/.suse-module-tools.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-module-tools"
Fri Sep 4 12:36:28 2026 rev:100 rq:1375472 version:16.1.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-module-tools/suse-module-tools.changes
2026-07-20 10:00:01.841524616 +0200
+++
/work/SRC/openSUSE:Factory/.suse-module-tools.new.1265/suse-module-tools.changes
2026-09-04 12:37:14.081892680 +0200
@@ -1,0 +2,6 @@
+Wed Aug 26 13:58:04 UTC 2026 - Martin Wilck <[email protected]>
+
+- Update to version 16.1.7:
+ * If no initrd is found rebuild it (gh#openSUSE/suse-module-tools#133)
+
+-------------------------------------------------------------------
Old:
----
suse-module-tools-16.1.6.obscpio
New:
----
suse-module-tools-16.1.7.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suse-module-tools.spec ++++++
--- /var/tmp/diff_new_pack.t4IgrE/_old 2026-09-04 12:37:14.954923332 +0200
+++ /var/tmp/diff_new_pack.t4IgrE/_new 2026-09-04 12:37:14.957923437 +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.1.6
+Version: 16.1.7
Release: 0
Summary: Configuration for module loading and SUSE-specific utilities
for KMPs
License: GPL-2.0-or-later
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.t4IgrE/_old 2026-09-04 12:37:15.029925966 +0200
+++ /var/tmp/diff_new_pack.t4IgrE/_new 2026-09-04 12:37:15.038926281 +0200
@@ -1,5 +1,5 @@
-mtime: 1784305404
-commit: c5931d822dd8f54424c835f030b1185985890c9f6e423ea689d627873cca9a00
+mtime: 1787752790
+commit: 9b16dffb4ca1939f71345ea55af4cfa54f7e2cc39f0b79dbb56d2633569bbaa3
url: https://src.opensuse.org/mwilck/suse-module-tools
revision: factory
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.t4IgrE/_old 2026-09-04 12:37:15.081927791 +0200
+++ /var/tmp/diff_new_pack.t4IgrE/_new 2026-09-04 12:37:15.086927967 +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">aa56d018d9bcd8296cc9255777aef933dc4f71be</param></service></servicedata>
+ <param
name="changesrevision">d716548257cfdad01b05c2588bc7b874f902a462</param></service></servicedata>
(No newline at EOF)
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-08-26 15:59:50.000000000 +0200
@@ -0,0 +1 @@
+.osc
++++++ suse-module-tools-16.1.6.obscpio -> suse-module-tools-16.1.7.obscpio
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-module-tools-16.1.6/suse-module-tools.spec
new/suse-module-tools-16.1.7/suse-module-tools.spec
--- old/suse-module-tools-16.1.6/suse-module-tools.spec 2026-07-17
18:19:34.000000000 +0200
+++ new/suse-module-tools-16.1.7/suse-module-tools.spec 2026-08-26
15:56:59.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.1.6
+Version: 16.1.7
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.1.6/weak-modules2
new/suse-module-tools-16.1.7/weak-modules2
--- old/suse-module-tools-16.1.6/weak-modules2 2026-07-17 18:19:34.000000000
+0200
+++ new/suse-module-tools-16.1.7/weak-modules2 2026-08-26 15:56:59.000000000
+0200
@@ -474,22 +474,44 @@
}
}
+# Print the initrd that kernel $krel is currently using. Return 1 if
+# the initrd is missing, and 2 if the boot configuration cannot be
+# read, in which case rebuilding the initrd would not help.
get_current_initrd() {
local krel=$1
local initrd="/boot/initrd-$krel"
+ local entry boot_path
+
if [ -n "$SDBOOTUTIL" ]; then
if [ -z "$TRANSACTIONAL_UPDATE" ] && [ -s '/etc/kernel/entry-token' ];
then
- read -r _ initrd <<<"$(sdbootutil --entry-keys=initrd show-entry
$krel)"
+ entry=$("$SDBOOTUTIL" --entry-keys=initrd show-entry "$krel") || {
+ log "WARNING: no boot entry for kernel $krel"
+ return 2
+ }
+ read -r _ initrd <<<"$entry"
+ [ -n "$initrd" ] || {
+ log "WARNING: no initrd in the boot entry of kernel $krel"
+ return 1
+ }
# The initrd can be in the ESP (/boot/efi, /boot) or in
# the XBOOTLDR (/boot), depending on the installation
- initrd="$(bootctl --print-boot-path)$initrd"
+ boot_path=$(bootctl --print-boot-path) || {
+ log "WARNING: cannot determine the boot path"
+ return 2
+ }
+ initrd="$boot_path$initrd"
+ [ -e "$initrd" ] || {
+ log "WARNING: initrd $initrd of kernel $krel is missing"
+ return 1
+ }
fi
fi
echo "$initrd"
}
get_current_basenames() {
- local initrd=$(get_current_initrd $1)
+ local initrd
+ initrd=$(get_current_initrd "$1") || return $?
$LSINITRD "$initrd" |
sed -rn 's:.*\<usr/lib/modules/.*/::p' |
strip_mod_extensions
@@ -583,8 +605,19 @@
dlog "needs_initrd: yes, kernel package"
return 0
fi
- local initrd="$(get_current_initrd $krel)"
- if [ -z "$SDBOOTUTIL" ] && [ ! -e "$initrd" ]; then
+ local initrd
+ initrd="$(get_current_initrd "$krel")"
+ case $? in
+ 1)
+ dlog "needs_initrd: yes, the current initrd cannot be found"
+ return 0
+ ;;
+ 2)
+ dlog "needs_initrd: no, the boot configuration cannot be read"
+ return 1
+ ;;
+ esac
+ if [ ! -e "$initrd" ]; then
dlog "needs_initrd: yes, initrd doesn't exist yet"
return 0
fi
@@ -628,7 +661,8 @@
if [ -n "$SDBOOTUTIL" ] && [ -z "$TRANSACTIONAL_UPDATE" ]; then
doit "$SDBOOTUTIL" --no-reuse-initrd add-kernel "$krel"
elif [ -z "$SDBOOTUTIL" ]; then
- local initrd="$(get_current_initrd $krel)"
+ local initrd
+ initrd="$(get_current_initrd "$krel")" || return 1
case "$INITRD_GENERATOR" in
"dracut")
doit "$DRACUT" -f "$initrd" $krel
++++++ suse-module-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.t4IgrE/_old 2026-09-04 12:37:15.460941098 +0200
+++ /var/tmp/diff_new_pack.t4IgrE/_new 2026-09-04 12:37:15.465941274 +0200
@@ -1,5 +1,5 @@
name: suse-module-tools
-version: 16.1.6
-mtime: 1784305174
-commit: aa56d018d9bcd8296cc9255777aef933dc4f71be
+version: 16.1.7
+mtime: 1787752619
+commit: d716548257cfdad01b05c2588bc7b874f902a462