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 2024-10-01 17:11:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-module-tools (Old) and /work/SRC/openSUSE:Factory/.suse-module-tools.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "suse-module-tools" Tue Oct 1 17:11:29 2024 rev:83 rq:1204787 version:16.0.52 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-module-tools/suse-module-tools.changes 2024-09-12 16:54:12.643495429 +0200 +++ /work/SRC/openSUSE:Factory/.suse-module-tools.new.29891/suse-module-tools.changes 2024-10-01 17:11:42.461451319 +0200 @@ -1,0 +2,9 @@ +Mon Sep 30 13:54:11 UTC 2024 - Martin Wilck <mwilck@suse.com> + +- Update to version 16.0.52: + * rpm-script: create vmlinuz and initrd also in image build environments + (bsc#1231040, bsc#1230858) + * regenerate-initrd-posttrans: Fix SKIP_REGENERATE_INITRD_ALL + (bsc#1228929) + +------------------------------------------------------------------- Old: ---- suse-module-tools-16.0.51.obscpio New: ---- suse-module-tools-16.0.52.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-module-tools.spec ++++++ --- /var/tmp/diff_new_pack.XnVezb/_old 2024-10-01 17:11:43.473493504 +0200 +++ /var/tmp/diff_new_pack.XnVezb/_new 2024-10-01 17:11:43.477493670 +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.51 +Version: 16.0.52 Release: 0 Summary: Configuration for module loading and SUSE-specific utilities for KMPs License: GPL-2.0-or-later ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.XnVezb/_old 2024-10-01 17:11:43.513495171 +0200 +++ /var/tmp/diff_new_pack.XnVezb/_new 2024-10-01 17:11:43.517495338 +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">747e2bfce7f245987ff87cea6b80c31ce39dc2fa</param></service></servicedata> + <param name="changesrevision">282e930752c4d08ac0bdb116de7e035e36a78f04</param></service></servicedata> (No newline at EOF) ++++++ suse-module-tools-16.0.51.obscpio -> suse-module-tools-16.0.52.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-module-tools-16.0.51/kernel-scriptlets/rpm-script new/suse-module-tools-16.0.52/kernel-scriptlets/rpm-script --- old/suse-module-tools-16.0.51/kernel-scriptlets/rpm-script 2024-09-05 11:58:31.000000000 +0200 +++ new/suse-module-tools-16.0.52/kernel-scriptlets/rpm-script 2024-09-30 15:52:11.000000000 +0200 @@ -133,12 +133,11 @@ message_install_bl fi fi - create_boot_symlinks "$kernelrelease-$flavor" else message_install_bl - create_boot_symlinks "$kernelrelease-$flavor" fi fi + create_boot_symlinks "$kernelrelease-$flavor" } check_space_in_boot() { @@ -195,6 +194,8 @@ create_boot_symlinks() { rel_flav=$1 broken= + + [ -n "$is_sdbootutil" ] && return for x in /boot/"$image" /boot/initrd; do [ -f "$x-$rel_flav" ] || broken=yes done diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-module-tools-16.0.51/regenerate-initrd-posttrans new/suse-module-tools-16.0.52/regenerate-initrd-posttrans --- old/suse-module-tools-16.0.51/regenerate-initrd-posttrans 2024-09-05 11:58:31.000000000 +0200 +++ new/suse-module-tools-16.0.52/regenerate-initrd-posttrans 2024-09-30 15:52:11.000000000 +0200 @@ -76,43 +76,44 @@ work_done= if test -e "$dir/all"; then - rm "$dir"/* - [ "$SKIP_REGENERATE_INITRD_ALL" = 1 ] || { + if [ "$SKIP_REGENERATE_INITRD_ALL" = 1 ]; then + rm "$dir/all" + else + rm "$dir"/* if [ -n "$is_sdbootutil" ]; then /usr/bin/sdbootutil --no-reuse-initrd --default-snapshot add-all-kernels else initrd_regenerate_all fi work_done=yes - } -else - for f in "$dir"/*; do - case $f in - "$dir/*") - [ -e "$f" ] || break;; - esac - rm -f "$f" - kver=${f##*/} - case "$kver" in - vmlinuz-*|image-*|vmlinux-*|linux-*|bzImage-*|uImage-*|Image-*|zImage-*) - kver=${kver#*-} - ;; - esac - [ -d /lib/modules/"$kver" ] || { - echo $0: skipping invalid kernel version "$dir/$kver" - continue - } - if [ -n "$is_sdbootutil" ]; then - /usr/bin/sdbootutil --no-reuse-initrd --default-snapshot add-kernel "$kver" - err=$? - [ $err -eq 0 ] && work_done=yes - else - initrd_regenerate "$kver" - err=$? - [ $err -eq 0 ] && work_done=yes - fi - done + fi fi +for f in "$dir"/*; do + case $f in + "$dir/*") + [ -e "$f" ] || break;; + esac + rm -f "$f" + kver=${f##*/} + case "$kver" in + vmlinuz-*|image-*|vmlinux-*|linux-*|bzImage-*|uImage-*|Image-*|zImage-*) + kver=${kver#*-} + ;; + esac + [ -d /lib/modules/"$kver" ] || { + echo "$0: skipping invalid kernel version $dir/$kver" + continue + } + if [ -n "$is_sdbootutil" ]; then + /usr/bin/sdbootutil --no-reuse-initrd --default-snapshot add-kernel "$kver" + err=$? + [ $err -eq 0 ] && work_done=yes + else + initrd_regenerate "$kver" + err=$? + [ $err -eq 0 ] && work_done=yes + fi +done # Clean-up before exit trap 'initrd_cleanup' EXIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-module-tools-16.0.51/suse-module-tools.spec new/suse-module-tools-16.0.52/suse-module-tools.spec --- old/suse-module-tools-16.0.51/suse-module-tools.spec 2024-09-05 11:58:31.000000000 +0200 +++ new/suse-module-tools-16.0.52/suse-module-tools.spec 2024-09-30 15:52:11.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.51 +Version: 16.0.52 Release: 0 Summary: Configuration for module loading and SUSE-specific utilities for KMPs License: GPL-2.0-or-later ++++++ suse-module-tools.obsinfo ++++++ --- /var/tmp/diff_new_pack.XnVezb/_old 2024-10-01 17:11:43.645500674 +0200 +++ /var/tmp/diff_new_pack.XnVezb/_new 2024-10-01 17:11:43.649500840 +0200 @@ -1,5 +1,5 @@ name: suse-module-tools -version: 16.0.51 -mtime: 1725530311 -commit: 747e2bfce7f245987ff87cea6b80c31ce39dc2fa +version: 16.0.52 +mtime: 1727704331 +commit: 282e930752c4d08ac0bdb116de7e035e36a78f04