diff --git a/shim.changes b/shim.changes index 5ec6e92..893408c 100644 --- a/shim.changes +++ b/shim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 3 03:54:22 UTC 2013 - glin@suse.com + +- Call update-bootloader in %post to update *.efi in \efi\opensuse + (bnc#813079) + ------------------------------------------------------------------- Fri Mar 8 06:53:47 UTC 2013 - glin@suse.com diff --git a/shim.spec b/shim.spec index 3bfe856..ab5445d 100644 --- a/shim.spec +++ b/shim.spec @@ -66,6 +66,7 @@ BuildRequires: mozilla-nss-tools BuildRequires: openssl >= 0.9.8 BuildRequires: pesign BuildRequires: pesign-obs-integration +Requires: perl-Bootloader BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: grub2-efi ExclusiveArch: x86_64 @@ -148,6 +149,9 @@ install -m 755 %{SOURCE3} %{buildroot}/%{_sbindir}/ %clean %{?buildroot:%__rm -rf "%{buildroot}"} +%post +/sbin/update-bootloader --refresh || true + %files %defattr(-,root,root) %doc COPYRIGHT