Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sdbootutil for openSUSE:Factory checked in at 2026-01-29 17:44:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sdbootutil (Old) and /work/SRC/openSUSE:Factory/.sdbootutil.new.1995 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sdbootutil" Thu Jan 29 17:44:43 2026 rev:89 rq:1329617 version:1+git20260127.6240918 Changes: -------- --- /work/SRC/openSUSE:Factory/sdbootutil/sdbootutil.changes 2026-01-15 16:44:02.554760531 +0100 +++ /work/SRC/openSUSE:Factory/.sdbootutil.new.1995/sdbootutil.changes 2026-01-29 17:45:14.706093694 +0100 @@ -1,0 +2,13 @@ +Wed Jan 28 07:29:06 UTC 2026 - Alberto Planas Dominguez <[email protected]> + +- Update to version 1+git20260127.6240918: + * Correctly replace the boot entry with a new name + +------------------------------------------------------------------- +Thu Jan 22 11:39:50 UTC 2026 - Alberto Planas Dominguez <[email protected]> + +- Update to version 1+git20260122.dd5ba5c: + * Fix boot entries detection when boot counting is enabled + * [.github]: Improve issue templates + +------------------------------------------------------------------- Old: ---- sdbootutil-1+git20260115.cd41d07.obscpio New: ---- sdbootutil-1+git20260127.6240918.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sdbootutil.spec ++++++ --- /var/tmp/diff_new_pack.EFyeMT/_old 2026-01-29 17:45:15.930145383 +0100 +++ /var/tmp/diff_new_pack.EFyeMT/_new 2026-01-29 17:45:15.934145552 +0100 @@ -18,7 +18,7 @@ %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' Name: sdbootutil -Version: 1+git20260115.cd41d07 +Version: 1+git20260127.6240918 Release: 0 Summary: Bootctl wrapper for BLS boot loaders License: MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.EFyeMT/_old 2026-01-29 17:45:16.002148424 +0100 +++ /var/tmp/diff_new_pack.EFyeMT/_new 2026-01-29 17:45:16.010148762 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/sdbootutil.git</param> - <param name="changesrevision">cd41d07334aa22fbd8907216c693dfe2061dbaf9</param></service></servicedata> + <param name="changesrevision">62409185d8e4c587839f07185f7af3cd7816ee52</param></service></servicedata> (No newline at EOF) ++++++ sdbootutil-1+git20260115.cd41d07.obscpio -> sdbootutil-1+git20260127.6240918.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20260115.cd41d07/.github/ISSUE_TEMPLATE/bug_report.yml new/sdbootutil-1+git20260127.6240918/.github/ISSUE_TEMPLATE/bug_report.yml --- old/sdbootutil-1+git20260115.cd41d07/.github/ISSUE_TEMPLATE/bug_report.yml 2026-01-15 13:56:43.000000000 +0100 +++ new/sdbootutil-1+git20260127.6240918/.github/ISSUE_TEMPLATE/bug_report.yml 2026-01-27 16:10:55.000000000 +0100 @@ -27,7 +27,6 @@ attributes: label: Observed behavior description: What actually happens? Include exact error messages shown on screen or in logs. - render: text validations: required: true - type: textarea @@ -35,7 +34,6 @@ attributes: label: Expected behavior description: What should have happened instead? - render: text validations: required: true - type: textarea @@ -47,7 +45,6 @@ 1. … 2. … 3. … - render: markdown validations: required: true - type: dropdown @@ -139,6 +136,5 @@ attributes: label: Additional context description: Any other logs (journal excerpts), config, or details that help diagnose the issue. - render: text validations: - required: false \ No newline at end of file + required: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20260115.cd41d07/.github/ISSUE_TEMPLATE/feature_request.yml new/sdbootutil-1+git20260127.6240918/.github/ISSUE_TEMPLATE/feature_request.yml --- old/sdbootutil-1+git20260115.cd41d07/.github/ISSUE_TEMPLATE/feature_request.yml 2026-01-15 13:56:43.000000000 +0100 +++ new/sdbootutil-1+git20260127.6240918/.github/ISSUE_TEMPLATE/feature_request.yml 2026-01-27 16:10:55.000000000 +0100 @@ -24,15 +24,13 @@ attributes: label: Problem / use case description: What problem does this solve? Who benefits? - render: text validations: required: true - type: textarea id: proposal attributes: label: Proposed solution / expected behavior - description: Describe how you expect it to work (CLI flags, UI, workflow...). - render: text + description: Describe how you expect it to work (CLI flags, workflow...). validations: required: true - type: textarea @@ -40,21 +38,21 @@ attributes: label: Alternatives considered description: Other approaches you’ve tried or could work - render: text validations: required: false - type: input id: scope attributes: label: Affected component(s) - placeholder: e.g., sdbootutil, enrollment, predictions, installer, docs + placeholder: e.g. enrollment, predictions, installer, docs validations: required: false - type: input id: versions attributes: - label: Version(s) you’re using - placeholder: e.g., "sdbootutil 0.9.0 on Tumbleweed x86_64" + label: sdbootutil version + description: Output of `zypper info sdbootutil | grep Version` + placeholder: sdbootutil 1+git20250804.8dccab3-1.1 validations: required: false - type: textarea @@ -62,6 +60,5 @@ attributes: label: Additional context description: Mockups, links, related issues, prior art, etc. - render: text validations: - required: false \ No newline at end of file + required: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20260115.cd41d07/sdbootutil new/sdbootutil-1+git20260127.6240918/sdbootutil --- old/sdbootutil-1+git20260115.cd41d07/sdbootutil 2026-01-15 13:56:43.000000000 +0100 +++ new/sdbootutil-1+git20260127.6240918/sdbootutil 2026-01-27 16:10:55.000000000 +0100 @@ -650,15 +650,20 @@ { local src="${1:?}" local dst="${2:?}" + local old="${3:-$dst}" - if [ -e "$dst" ]; then - if cmp -s "$src" "$dst"; then - info "$dst unchanged" + # Install `src` as `dst` if the file is new or different. If + # the file is present with the `old` name, if will be kept if + # the file did not change, else it will be installed with the + # new name (`dst`) + if [ -e "$old" ]; then + if cmp -s "$src" "$old"; then + info "$old unchanged" return 0 fi - mv "$dst" "$dst.bak" || return "$?" + mv "$old" "$old.bak" || return "$?" fi - rollback+=("$dst") + rollback+=("$old") install -p -m 0644 "$src" "$dst" || return "$?" chown root:root "$dst" 2> /dev/null || : info "Installed $dst" @@ -1148,18 +1153,22 @@ tries= fi - # If the version without "tries" suffix is present, do - # not create a new one. This avoid duplication, but - # also doing this check so late give the chance of - # adding the kernel or initrd in case that the user + # The entry can be already present with or without + # boot counter. In any case, if a new `initrd` was + # created with a different `sha1`, then this boot + # entry needs to be replaced, but under the new name + # (with the boot counter configured in + # `/etc/kernel/tries`) + # + # This replacement is done to avoid duplication. + # Hopefully doing this check this late give the chance + # of adding the kernel or initrd in case that the user # removes them - local entry_name + local entry_name loader_entry loader_entry_current entry_name="$(entry_conf_file "$kernel_version" "$snapshot")" - loader_entry="$(find "$boot_root/loader/entries" -maxdepth 1 -type f -name "${entry_name%.conf}+*" -print -quit)" - if [ -z "$loader_entry" ]; then - loader_entry="$boot_root/loader/entries/$(entry_conf_file "$kernel_version" "$snapshot" "$tries")" - install_with_rollback "$tmpdir/entry.conf" "$loader_entry" || failed="bootloader entry" - fi + loader_entry="$boot_root/loader/entries/$(entry_conf_file "$kernel_version" "$snapshot" "$tries")" + loader_entry_current="$(find "$boot_root/loader/entries" -maxdepth 1 -type f -name "${entry_name%.conf}*" -print -quit)" + install_with_rollback "$tmpdir/entry.conf" "$loader_entry" "$loader_entry_current" || failed="bootloader entry" rm -f "$tmpdir/entry.conf" fi [ -z "$failed" ] || err "Failed to install $failed" ++++++ sdbootutil.obsinfo ++++++ --- /var/tmp/diff_new_pack.EFyeMT/_old 2026-01-29 17:45:16.258159235 +0100 +++ /var/tmp/diff_new_pack.EFyeMT/_new 2026-01-29 17:45:16.262159403 +0100 @@ -1,5 +1,5 @@ name: sdbootutil -version: 1+git20260115.cd41d07 -mtime: 1768481803 -commit: cd41d07334aa22fbd8907216c693dfe2061dbaf9 +version: 1+git20260127.6240918 +mtime: 1769526655 +commit: 62409185d8e4c587839f07185f7af3cd7816ee52
