grub2-efi should have its own bash completion

This commit is contained in:
Mads Kiilerich 2011-10-27 17:09:08 +02:00 committed by Peter Jones
parent 204ee270c4
commit e61d26e2a3

View File

@ -165,6 +165,7 @@ rm -fr $RPM_BUILD_ROOT
%ifarch %{efi} %ifarch %{efi}
cd grub-efi-%{version} cd grub-efi-%{version}
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT/etc/bash_completion.d/grub $RPM_BUILD_ROOT/etc/bash_completion.d/grub-efi
# Ghost config file # Ghost config file
install -d $RPM_BUILD_ROOT/boot/%{name}-efi install -d $RPM_BUILD_ROOT/boot/%{name}-efi
@ -314,7 +315,7 @@ fi
%files efi %files efi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0755,root,root)/boot/efi/EFI/redhat %attr(0755,root,root)/boot/efi/EFI/redhat
/etc/bash_completion.d/grub /etc/bash_completion.d/grub-efi
%{_libdir}/grub2-efi %{_libdir}/grub2-efi
%{_libdir}/grub/ %{_libdir}/grub/
/sbin/grub2-efi-mkconfig /sbin/grub2-efi-mkconfig