[packages/efi-boot-update] 'grub-installed' module added
jajcus
jajcus at pld-linux.org
Wed Oct 31 14:16:57 CET 2012
commit 1ef784d842f20125b8e94b061bf718fdd27a036c
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Wed Oct 31 14:16:09 2012 +0100
'grub-installed' module added
efi-boot-update.spec | 4 +++-
grub-installed.conf | 8 ++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/efi-boot-update.spec b/efi-boot-update.spec
index 32cc0e9..505ba15 100644
--- a/efi-boot-update.spec
+++ b/efi-boot-update.spec
@@ -11,6 +11,7 @@ Source1: update.conf
Source2: shellx64.conf
Source3: shellia32.conf
Source4: grub.conf
+Source5: grub-installed.conf
Source10: README
Source11: TODO
URL: http://www.pld-linux.org/
@@ -40,7 +41,8 @@ install -d $RPM_BUILD_ROOT{/lib/efi/{ia32,x64},%{_sbindir},%{_mandir}/man8}
install %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
install %{SOURCE1} $RPM_BUILD_ROOT/etc/efi-boot
-install %{SOURCE2} %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT/etc/efi-boot/update.d
+install %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
+ $RPM_BUILD_ROOT/etc/efi-boot/update.d
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/grub-installed.conf b/grub-installed.conf
new file mode 100644
index 0000000..df3ee1a
--- /dev/null
+++ b/grub-installed.conf
@@ -0,0 +1,8 @@
+#
+# This module just adds a label for GRUB already installed with grub-install
+# so it can be included in efi-boot-update managed boot order
+#
+
+ENABLED=yes
+BINARY=/EFI/grub/grubx64.efi
+LABEL="GRUB (preinstalled)"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/efi-boot-update.git/commitdiff/1ef784d842f20125b8e94b061bf718fdd27a036c
More information about the pld-cvs-commit
mailing list