/etc/default/grub actually comes from anaconda, remove the confusion.
This commit is contained in:
parent
10d574ecc6
commit
2761298dbc
@ -1,7 +0,0 @@
|
|||||||
GRUB_TIMEOUT=5
|
|
||||||
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
|
|
||||||
GRUB_DEFAULT=saved
|
|
||||||
# GRUB_TERMINAL="serial console"
|
|
||||||
# GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600"
|
|
||||||
GRUB_CMDLINE_LINUX="quiet rhgb"
|
|
||||||
GRUB_DISABLE_RECOVERY="true"
|
|
@ -30,7 +30,6 @@ License: GPLv3+
|
|||||||
URL: http://www.gnu.org/software/grub/
|
URL: http://www.gnu.org/software/grub/
|
||||||
Obsoletes: grub < 1:0.98
|
Obsoletes: grub < 1:0.98
|
||||||
Source0: ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
|
Source0: ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
|
||||||
Source2: grub.default
|
|
||||||
Source3: README.Fedora
|
Source3: README.Fedora
|
||||||
Source4: http://unifoundry.com/unifont-5.1.20080820.pcf.gz
|
Source4: http://unifoundry.com/unifont-5.1.20080820.pcf.gz
|
||||||
Source5: theme.tar.bz2
|
Source5: theme.tar.bz2
|
||||||
@ -243,8 +242,6 @@ mv $RPM_BUILD_ROOT%{_infodir}/grub-dev.info $RPM_BUILD_ROOT%{_infodir}/grub2-dev
|
|||||||
rm $RPM_BUILD_ROOT%{_infodir}/dir
|
rm $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
install -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/default/grub
|
|
||||||
|
|
||||||
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
|
mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
|
||||||
ln -sf %{_sysconfdir}/default/grub \
|
ln -sf %{_sysconfdir}/default/grub \
|
||||||
${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/grub
|
${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/grub
|
||||||
@ -327,7 +324,7 @@ fi
|
|||||||
%config %{_sysconfdir}/grub.d/??_*
|
%config %{_sysconfdir}/grub.d/??_*
|
||||||
%{_sysconfdir}/grub.d/README
|
%{_sysconfdir}/grub.d/README
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}.cfg
|
%config(noreplace) %{_sysconfdir}/%{name}.cfg
|
||||||
%config(noreplace) %{_sysconfdir}/default/grub
|
%ghost %config(noreplace) %{_sysconfdir}/default/grub
|
||||||
%{_sysconfdir}/sysconfig/grub
|
%{_sysconfdir}/sysconfig/grub
|
||||||
%dir /boot/%{name}
|
%dir /boot/%{name}
|
||||||
%ghost %config(noreplace) /boot/%{name}/grub.cfg
|
%ghost %config(noreplace) /boot/%{name}/grub.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user