Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sdbootutil for openSUSE:Factory checked in at 2025-03-28 09:36:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sdbootutil (Old) and /work/SRC/openSUSE:Factory/.sdbootutil.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sdbootutil" Fri Mar 28 09:36:35 2025 rev:53 rq:1264605 version:1+git20250327.9714cbd Changes: -------- --- /work/SRC/openSUSE:Factory/sdbootutil/sdbootutil.changes 2025-03-26 21:17:22.211462866 +0100 +++ /work/SRC/openSUSE:Factory/.sdbootutil.new.2696/sdbootutil.changes 2025-03-28 09:36:55.187856776 +0100 @@ -1,0 +2,7 @@ +Thu Mar 27 15:19:37 UTC 2025 - apla...@suse.com + +- Update to version 1+git20250327.9714cbd: + * Get boot_dst from os-release NAME + * Add --devices parameter + +------------------------------------------------------------------- Old: ---- sdbootutil-1+git20250324.c1cd393.obscpio New: ---- sdbootutil-1+git20250327.9714cbd.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sdbootutil.spec ++++++ --- /var/tmp/diff_new_pack.a8SCjE/_old 2025-03-28 09:36:55.779881296 +0100 +++ /var/tmp/diff_new_pack.a8SCjE/_new 2025-03-28 09:36:55.783881462 +0100 @@ -17,7 +17,7 @@ Name: sdbootutil -Version: 1+git20250324.c1cd393 +Version: 1+git20250327.9714cbd Release: 0 Summary: bootctl wrapper for BLS boot loaders License: MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.a8SCjE/_old 2025-03-28 09:36:55.831883450 +0100 +++ /var/tmp/diff_new_pack.a8SCjE/_new 2025-03-28 09:36:55.835883615 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/sdbootutil.git</param> - <param name="changesrevision">c1cd39374a61ad2219e0dee4b1cf8cd3fd923231</param></service></servicedata> + <param name="changesrevision">9714cbdeac75df3fd9cc975e5f729b483d968044</param></service></servicedata> (No newline at EOF) ++++++ sdbootutil-1+git20250324.c1cd393.obscpio -> sdbootutil-1+git20250327.9714cbd.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20250324.c1cd393/completions/bash_sdbootutil new/sdbootutil-1+git20250327.9714cbd/completions/bash_sdbootutil --- old/sdbootutil-1+git20250324.c1cd393/completions/bash_sdbootutil 2025-03-24 20:48:35.000000000 +0100 +++ new/sdbootutil-1+git20250327.9714cbd/completions/bash_sdbootutil 2025-03-27 16:16:28.000000000 +0100 @@ -1,11 +1,14 @@ # shellcheck disable=SC2148 shopt -s nullglob + # shellcheck disable=SC2148 -err() { +err() +{ : } -_none() { +_none() +{ declare -ga result result=() } @@ -31,26 +34,37 @@ mapfile -t result < <(bootctl list --json=short | jq -r '.[].id') } -_arch_name() { +_arch_name() +{ declare -ga result result=("${!arch_image_map[@]}") } -_image_name() { +_image_name() +{ declare -ga result result=() result=("${!arch_image_map[@]}") } -_method() { +_method() +{ + declare -ga result + result=() + for i in "tpm2" "tpm2+pin" "fido2" "password" "recovery-key"; do + result+=("$i") + done +} + +_devices() +{ declare -ga result result=() - for i in "tpm2" "tpm2+pin" "fido2" "password" "recovery-key"; do - result+=("$i") - done + mapfile -t result < <(sdbootutil list-devices) } -_sdbootutil_completion() { +_sdbootutil_completion() +{ eval "$(sdbootutil _print_bash_completion_data)" local cur prev words cword image COMPREPLY=() @@ -111,4 +125,5 @@ COMPREPLY=( $(compgen -W "${!commands[*]}" -- "$cur") ) fi } -complete -F _sdbootutil_completion sdbootutil \ No newline at end of file + +complete -F _sdbootutil_completion sdbootutil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sdbootutil-1+git20250324.c1cd393/sdbootutil new/sdbootutil-1+git20250327.9714cbd/sdbootutil --- old/sdbootutil-1+git20250324.c1cd393/sdbootutil 2025-03-24 20:48:35.000000000 +0100 +++ new/sdbootutil-1+git20250327.9714cbd/sdbootutil 2025-03-27 16:16:28.000000000 +0100 @@ -108,6 +108,8 @@ --measure-pcr Force update of PCR 15 prediction for LUKS2 volume key Requires LUKS2 password to accessing the volume key --pcr Comma seperated list of PCRs to enroll + --devices Comma separated list of devices to enroll or unenroll + By default all (not ignored) devices are [un]enrolled -v, --verbose More verbose output -h, --help This screen @@ -3007,6 +3009,7 @@ [signed-policy]="" [measure-pcr]="" [pcr]="_none" + [devices]="_devices" ) opts_long="" for opt in "${!options_with_arg[@]}"; do @@ -3067,6 +3070,7 @@ --signed-policy) arg_signed_policy=1; shift ;; --measure-pcr) arg_measure_pcr=1; shift ;; --pcr) FDE_SEAL_PCR_LIST="$2"; shift 2 ;; + --devices) IFS=',' read -r -a tracked_devices <<<"$2"; shift 2 ;; --) shift ; break ;; *) echo "Internal error!" ; exit 1 ;; esac @@ -3139,7 +3143,10 @@ elif is_sdboot; then boot_dst="/EFI/systemd" elif is_grub2_bls; then - boot_dst="/EFI/opensuse" + set_os_release "${root_snapshot}" + # shellcheck disable=SC2154 + read -r -a name <<<"${os_release_NAME,,}" + boot_dst="/EFI/${name[0]}" else msg="Bootloader not detected" [ -z "$LOADER_TYPE" ] || msg+=". /etc/sysconfig/bootloader has LOADER_TYPE=\"$LOADER_TYPE\", but only \"systemd-boot\" or \"grub2-bls\" are recognized." ++++++ sdbootutil.obsinfo ++++++ --- /var/tmp/diff_new_pack.a8SCjE/_old 2025-03-28 09:36:55.955888586 +0100 +++ /var/tmp/diff_new_pack.a8SCjE/_new 2025-03-28 09:36:55.959888751 +0100 @@ -1,5 +1,5 @@ name: sdbootutil -version: 1+git20250324.c1cd393 -mtime: 1742845715 -commit: c1cd39374a61ad2219e0dee4b1cf8cd3fd923231 +version: 1+git20250327.9714cbd +mtime: 1743088588 +commit: 9714cbdeac75df3fd9cc975e5f729b483d968044