From: Jacek Konieczny Date: Wed, 31 Oct 2012 13:16:09 +0000 (+0100) Subject: 'grub-installed' module added X-Git-Tag: auto/th/efi-boot-update-0.1-1~7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fefi-boot-update.git;a=commitdiff_plain;h=1ef784d842f20125b8e94b061bf718fdd27a036c 'grub-installed' module added --- 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)"