[grub2] drop 90_persistent script

Peter Jones pjones at fedoraproject.org
Mon Apr 16 16:41:09 UTC 2012


commit 49353e4bb93fba634a22670c09cf8440c75f748b
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 4932099..c2ebdac 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
 Patch0:		grub-1.99-handle-fwrite-return.patch
@@ -206,9 +205,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