[packages/kernel] Call efi-boot-update with other boot managers

jajcus jajcus at pld-linux.org
Wed Oct 23 20:01:14 CEST 2013


commit f06ac0355126501cd9b843014b5652012cd2ad3d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Wed Oct 23 17:57:40 2013 +0200

    Call efi-boot-update with other boot managers

 kernel.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index 2d46054..d97efa2 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1105,6 +1105,9 @@ fi
 if [ -x /sbin/rc-boot ]; then
 	/sbin/rc-boot 1>&2 || :
 fi
+if [ -x /sbin/efi-boot-update ]; then
+	/sbin/efi-boot-update --auto || :
+fi
 
 %post vmlinux
 [ -f /etc/sysconfig/kernel ] && . /etc/sysconfig/kernel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/3bb5cb4dac67b049f0d9cb4111426e10c076904e



More information about the pld-cvs-commit mailing list