mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 22:35:28 +00:00
grub2-efi should have its own bash completion
This commit is contained in:
parent
204ee270c4
commit
e61d26e2a3
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue