Hello community, here is the log from the commit of package shim for openSUSE:Factory checked in at 2020-07-26 16:15:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shim (Old) and /work/SRC/openSUSE:Factory/.shim.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shim" Sun Jul 26 16:15:31 2020 rev:82 rq:822330 version:15+git47 Changes: -------- --- /work/SRC/openSUSE:Factory/shim/shim.changes 2020-07-13 09:04:55.784002540 +0200 +++ /work/SRC/openSUSE:Factory/.shim.new.3592/shim.changes 2020-07-26 16:16:56.324673583 +0200 @@ -1,0 +2,5 @@ +Wed Jul 22 09:23:02 UTC 2020 - Gary Ching-Pang Lin <g...@suse.com> + +- Update the path to grub-tpm.efi in shim-install (bsc#1174320) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shim-install ++++++ --- /var/tmp/diff_new_pack.piuUm9/_old 2020-07-26 16:16:57.028674175 +0200 +++ /var/tmp/diff_new_pack.piuUm9/_new 2020-07-26 16:16:57.028674175 +0200 @@ -146,7 +146,17 @@ no_nvram=yes ;; --suse-enable-tpm) - source_grub_efi="/usr/lib/grub2/${grub_install_target}/grub-tpm.efi" ;; + # bsc#1174320 shim-install uses wrong paths for EFI files + # There are 3 possible locations of grub-tpm.efi and we will check them + # one by one. + if [ -e "${source_dir}/grub-tpm.efi" ]; then + source_grub_efi="${source_dir}/grub-tpm.efi" + elif [ -e "${datadir}/grub2/${grub_install_target}/grub-tpm.efi" ] ; then + source_grub_efi="${datadir}/grub2/${grub_install_target}/grub-tpm.efi" + else + source_grub_efi="/usr/lib/grub2/${grub_install_target}/grub-tpm.efi" + fi + ;; --clean) clean=yes ;;