Hello community, here is the log from the commit of package shim-leap for openSUSE:Factory checked in at 2020-04-01 19:16:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shim-leap (Old) and /work/SRC/openSUSE:Factory/.shim-leap.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shim-leap" Wed Apr 1 19:16:28 2020 rev:11 rq:790405 version:14 Changes: -------- --- /work/SRC/openSUSE:Factory/shim-leap/shim-leap.changes 2020-03-30 23:02:08.040133128 +0200 +++ /work/SRC/openSUSE:Factory/.shim-leap.new.3248/shim-leap.changes 2020-04-01 19:17:03.691496648 +0200 @@ -1,0 +2,6 @@ +Tue Mar 31 08:38:56 UTC 2020 - Gary Ching-Pang Lin <[email protected]> + +- Use the full path of efibootmgr to avoid errors when invoking + shim-install from packagekitd (bsc#1168104) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shim-install ++++++ --- /var/tmp/diff_new_pack.uC2FCs/_old 2020-04-01 19:17:04.275496911 +0200 +++ /var/tmp/diff_new_pack.uC2FCs/_new 2020-04-01 19:17:04.279496913 +0200 @@ -12,6 +12,7 @@ sysconfdir="/etc" libdir="/usr/lib64" source_dir="$libdir/efi" +efibootmgr="/usr/sbin/efibootmgr" grub_probe="/usr/sbin/grub2-probe" grub_mkrelpath="/usr/bin/grub2-mkrelpath" grub_install="/usr/sbin/grub2-install" @@ -245,9 +246,9 @@ fi if test "$no_nvram" = no && test -n "$bootloader_id"; then # Delete old entries from the same distributor. - for bootnum in `efibootmgr | grep '^Boot[0-9]' | \ + for bootnum in `$efibootmgr | grep '^Boot[0-9]' | \ fgrep -i " $bootloader_id" | cut -b5-8`; do - efibootmgr -b "$bootnum" -B + $efibootmgr -b "$bootnum" -B done fi exit 0 @@ -323,9 +324,9 @@ modprobe -q efivars 2>/dev/null || true # Delete old entries from the same distributor. - for bootnum in `efibootmgr | grep '^Boot[0-9]' | \ + for bootnum in `$efibootmgr | grep '^Boot[0-9]' | \ fgrep -i " $bootloader_id" | cut -b5-8`; do - efibootmgr -b "$bootnum" -B + $efibootmgr -b "$bootnum" -B done efidir_drive="$("$grub_probe" --target=drive --device-map= "$efidir")" @@ -344,12 +345,12 @@ efidir_disk="$("$grub_probe" --target=disk --device-map= -d "$mddev")" efidir_part="$(echo "$efidir_drive" | sed 's/^([^,]*,[^0-9]*//; s/[^0-9].*//')" efidir_d=${mddev#/dev/} - efibootmgr -c -d "$efidir_disk" -p "$efidir_part" -w \ + $efibootmgr -c -d "$efidir_disk" -p "$efidir_part" -w \ -L "$bootloader_id ($efidir_d)" -l "\\EFI\\$efi_distributor\\$efi_file" done else efidir_part="$(echo "$efidir_drive" | sed 's/^([^,]*,[^0-9]*//; s/[^0-9].*//')" - efibootmgr -c -d "$efidir_disk" -p "$efidir_part" -w \ + $efibootmgr -c -d "$efidir_disk" -p "$efidir_part" -w \ -L "$bootloader_id" -l "\\EFI\\$efi_distributor\\$efi_file" fi fi
