[packages/elilo] Run efi-boot-update in %post
jajcus
jajcus at pld-linux.org
Wed Oct 31 15:26:14 CET 2012
commit 50b30be64cf0decf6e1a22febf7436720a42a8aa
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Wed Oct 31 15:25:59 2012 +0100
Run efi-boot-update in %post
elilo.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/elilo.spec b/elilo.spec
index 57c308e..6e85514 100644
--- a/elilo.spec
+++ b/elilo.spec
@@ -66,6 +66,9 @@ echo "Upgrade detected, copying elilo.efi to /boot/efi/elilo.efi..."
cp --preserve=ship,timestamps /lib/efi/%{efi_arch}/elilo.efi /boot/efi/elilo.efi || :
echo "Remove /boot/efi/elilo.efi if you don't need it."
+%post
+/sbin/efi-boot-update --auto || :
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/elilo.git/commitdiff/50b30be64cf0decf6e1a22febf7436720a42a8aa
More information about the pld-cvs-commit
mailing list