[grub2/f17] drop 90_persistent script
Peter Jones
pjones at fedoraproject.org
Thu Apr 26 14:31:31 UTC 2012
commit 0fdb59b0d1704d735c607581b08a1c008a0a5617
Author: Mads Kiilerich <mads at kiilerich.com>
Date: Thu Apr 5 02:19:50 2012 +0200
drop 90_persistent script
It is undocumented.
It haven't been upstreamed.
Upstream has 40_custom and 41_custom for the same purpose.
It violates layering and code structure by guessing which (optional!) output
file has been specified for grub2-mkconfig ... and makes the wrong guess for
grub2-efi.
90_persistent | 36 ------------------------------------
grub2.spec | 4 ----
2 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index b1497ef..40ce7d9 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -30,7 +30,6 @@ License: GPLv3+
URL: http://www.gnu.org/software/grub/
Obsoletes: grub < 1:0.98
Source0: ftp://alpha.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
-Source1: 90_persistent
Source2: grub.default
Source3: README.Fedora
Source4: http://unifoundry.com/unifont-5.1.20080820.pcf.gz
@@ -212,9 +211,6 @@ cd ..
cd grub-%{tarversion}
make DESTDIR=$RPM_BUILD_ROOT install
-# Script that makes part of grub.cfg persist across updates
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/grub.d/
-
# Ghost config file
install -d $RPM_BUILD_ROOT/boot/%{name}
touch $RPM_BUILD_ROOT/boot/%{name}/grub.cfg
More information about the scm-commits
mailing list