Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sdbootutil for openSUSE:Factory checked in at 2023-08-14 22:36:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sdbootutil (Old) and /work/SRC/openSUSE:Factory/.sdbootutil.new.11712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sdbootutil" Mon Aug 14 22:36:09 2023 rev:4 rq:1103882 version:1+git20230814.38973c7 Changes: -------- --- /work/SRC/openSUSE:Factory/sdbootutil/sdbootutil.changes 2023-08-07 15:29:51.904599119 +0200 +++ /work/SRC/openSUSE:Factory/.sdbootutil.new.11712/sdbootutil.changes 2023-08-14 22:36:27.224680905 +0200 @@ -1,0 +2,8 @@ +Mon Aug 14 13:24:43 UTC 2023 - lnus...@suse.com + +- Update to version 1+git20230814.38973c7: + * Support purge-kernels + * Fix postun + * Remove debug logging + +------------------------------------------------------------------- Old: ---- sdbootutil-1+git20230727.a0e666f.obscpio New: ---- sdbootutil-1+git20230814.38973c7.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sdbootutil.spec ++++++ --- /var/tmp/diff_new_pack.lt8BsG/_old 2023-08-14 22:36:27.760684313 +0200 +++ /var/tmp/diff_new_pack.lt8BsG/_new 2023-08-14 22:36:27.764684338 +0200 @@ -27,7 +27,7 @@ %define git_version %{nil} %endif Name: sdbootutil -Version: 1+git20230727.a0e666f%{git_version} +Version: 1+git20230814.38973c7%{git_version} Release: 0 Summary: script to install shim with sd-boot License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.lt8BsG/_old 2023-08-14 22:36:27.792684517 +0200 +++ /var/tmp/diff_new_pack.lt8BsG/_new 2023-08-14 22:36:27.796684542 +0200 @@ -1,5 +1,4 @@ <services> -<!-- Waiting for https://github.com/lnussel/sdbootutil/pull/9 <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/lnussel/sdbootutil.git</param> @@ -9,7 +8,6 @@ <param name="extract">sdbootutil.spec</param> </service> <service name="set_version" mode="manual" /> ---> <service name="tar" mode="buildtime"/> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.lt8BsG/_old 2023-08-14 22:36:27.812684643 +0200 +++ /var/tmp/diff_new_pack.lt8BsG/_new 2023-08-14 22:36:27.816684669 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/lnussel/sdbootutil.git</param> - <param name="changesrevision">a0e666f3d0a6ec524f26b7c30d0ff1ee02b9e96e</param></service></servicedata> + <param name="changesrevision">38973c76394e4c4120c626df82ecb8fc956e5847</param></service></servicedata> (No newline at EOF) ++++++ sdbootutil-1+git20230727.a0e666f.obscpio -> sdbootutil-1+git20230814.38973c7.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20230727.a0e666f/10-sdbootutil.snapper new/sdbootutil-1+git20230814.38973c7/10-sdbootutil.snapper --- old/sdbootutil-1+git20230727.a0e666f/10-sdbootutil.snapper 2023-07-27 16:17:12.000000000 +0200 +++ new/sdbootutil-1+git20230814.38973c7/10-sdbootutil.snapper 2023-08-14 15:22:49.000000000 +0200 @@ -62,8 +62,6 @@ commands['set-default-snapshot-post']=set_default_snapshot commands['help']=h -logger -t snapper "$0 $@" - cmd="$1" shift [ -n "$cmd" ] || cmd=help diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20230727.a0e666f/rpm-script new/sdbootutil-1+git20230814.38973c7/rpm-script --- old/sdbootutil-1+git20230727.a0e666f/rpm-script 2023-07-27 16:17:12.000000000 +0200 +++ new/sdbootutil-1+git20230814.38973c7/rpm-script 2023-08-14 15:22:49.000000000 +0200 @@ -76,6 +76,7 @@ /usr/bin/sdbootutil --image="$image" add-kernel "$kernelrelease-$flavor" # make sure to select the latest kernel [ -z "$TRANSACTIONAL_UPDATE" ] && /usr/bin/sdbootutil set-default-snapshot + [ -e /usr/lib/systemd/system/purge-kernels.service ] && { :>/boot/do_purge_kernels || :; } fi [ -z "$certs" ] || /usr/lib/module-init-tools/kernel-scriptlets/cert-"$op" --ca-check 1 --certs "$certs" "$@" || script_rc=$? ;; @@ -83,11 +84,12 @@ [ -z "$certs" ] || /usr/lib/module-init-tools/kernel-scriptlets/cert-"$op" --ca-check 1 --certs "$certs" "$@" || script_rc=$? ;; postun) - - if [ ! -e /.buildenv ] && [ "$1" -eq 0 ] ; then + # can't check $1 as kernel is usually multiversion. So need to check if + # that particular kernel was actually removed from disk. + if [ ! -e /.buildenv ] && [ ! -e /lib/modules/"$kernelrelease-$flavor/$image" ] ; then /usr/bin/sdbootutil --image="$image" remove-kernel "$kernelrelease-$flavor" + [ -z "$certs" ] || /usr/lib/module-init-tools/kernel-scriptlets/cert-"$op" --ca-check 1 --certs "$certs" "$@" fi - [ -z "$certs" ] || /usr/lib/module-init-tools/kernel-scriptlets/cert-"$op" --ca-check 1 --certs "$certs" "$@" ;; posttrans) ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20230727.a0e666f/sdbootutil.spec new/sdbootutil-1+git20230814.38973c7/sdbootutil.spec --- old/sdbootutil-1+git20230727.a0e666f/sdbootutil.spec 2023-07-27 16:17:12.000000000 +0200 +++ new/sdbootutil-1+git20230814.38973c7/sdbootutil.spec 2023-08-14 15:22:49.000000000 +0200 @@ -47,7 +47,7 @@ Requires: btrfsprogs Requires: sdbootutil >= %{version}-%{release} Requires: snapper -Supplements: (snapper and btrfsprogs) +Supplements: (snapper and btrfsprogs and sdbootutil) %description snapper Plugin scripts for snapper to handle BLS config files ++++++ sdbootutil.obsinfo ++++++ --- /var/tmp/diff_new_pack.lt8BsG/_old 2023-08-14 22:36:27.940685457 +0200 +++ /var/tmp/diff_new_pack.lt8BsG/_new 2023-08-14 22:36:27.944685482 +0200 @@ -1,5 +1,5 @@ name: sdbootutil -version: 1+git20230727.a0e666f -mtime: 1690467432 -commit: a0e666f3d0a6ec524f26b7c30d0ff1ee02b9e96e +version: 1+git20230814.38973c7 +mtime: 1692019369 +commit: 38973c76394e4c4120c626df82ecb8fc956e5847