[packages/xen] run efi-boot-image in %%post of efi subpackage

jajcus jajcus at pld-linux.org
Tue Dec 18 21:02:30 CET 2012


commit f276cc130ec9b27f92fc4ef15ce53a13210456fd
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Tue Dec 18 21:02:14 2012 +0100

    run efi-boot-image in %%post of efi subpackage

 xen.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/xen.spec b/xen.spec
index 72266c1..34a6779 100644
--- a/xen.spec
+++ b/xen.spec
@@ -537,6 +537,9 @@ fi
 %post	libs-guest -p /sbin/ldconfig
 %postun	libs-guest -p /sbin/ldconfig
 
+%post efi
+[ -x /sbin/efi-boot-update ] && /sbin/efi-boot-update --auto || :
+
 %files
 %defattr(644,root,root,755)
 %doc COPYING README* docs/misc/* 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xen.git/commitdiff/f276cc130ec9b27f92fc4ef15ce53a13210456fd



More information about the pld-cvs-commit mailing list