]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
grub: Fix installation of default configuration.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Oct 2011 13:49:50 +0000 (15:49 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Oct 2011 13:49:50 +0000 (15:49 +0200)
grub/default/grub [moved from grub/grub.default with 100% similarity]
grub/grub.nm

similarity index 100%
rename from grub/grub.default
rename to grub/default/grub
index 4adffac602c70dcfcd057d0788a97148e166003e..409ce33e64ddf87702cc7bbb75eba99d39807fcb 100644 (file)
@@ -5,7 +5,8 @@
 
 name       = grub
 version    = 1.99
-release    = 1
+release    = 2
+sup_arches = i686
 
 groups     = Base System/Boot
 url        = http://www.gnu.org/software/grub/
@@ -51,6 +52,9 @@ build
                # Install splash background
                mkdir -pv %{BUILDROOT}/boot/grub
                install %{DIR_SOURCE}/splash.png %{BUILDROOT}/boot/grub
+
+               # Install empty configuration file.
+               touch %{BUILDROOT}/boot/grub/grub.cfg
        end
 end
 
@@ -68,6 +72,11 @@ packages
                        /usr/share/X11/fonts/misc/unifont.pcf.gz
                end
 
+               configfiles
+                       /boot/grub/grub.cfg
+                       /etc/default/grub
+               end
+
                # Generate grub compatible font for graphical boot menu
                # This only converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters
                script postin