]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
grub: create default file.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 12 Nov 2012 22:42:08 +0000 (23:42 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 12 Nov 2012 22:42:08 +0000 (23:42 +0100)
grub will not boot if the file not exist.

config/rootfiles/common/i586/grub
lfs/grub

index 43084f78e8b23b18b2798c2824f41440fadb7d4c..de6a53b5cff18f3432acf5d080e0bc25034b758e 100644 (file)
@@ -1,4 +1,5 @@
 #boot/grub
+boot/grub/default
 boot/grub/grub.conf
 boot/grub/ipfire.xpm.gz
 boot/grub/stage1
index 8d5809975914611bf4a1a06532e209b767e62d6e..6850a3a58fd8091a57e51037b4e547198ee0fd4b 100644 (file)
--- a/lfs/grub
+++ b/lfs/grub
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2012  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -92,5 +92,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
            [ -f $$i ] && cp -f $$i /boot/grub; \
        done
 
+       # generate default file
+       grub-set-default 0
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)