From: Arne Fitzenreiter Date: Mon, 12 Nov 2012 22:42:08 +0000 (+0100) Subject: grub: create default file. X-Git-Tag: v2.13-beta1~75 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=10af520f16fb1019a2bcee3c2101bfaa22f0ccb8 grub: create default file. grub will not boot if the file not exist. --- diff --git a/config/rootfiles/common/i586/grub b/config/rootfiles/common/i586/grub index 43084f78e8..de6a53b5cf 100644 --- a/config/rootfiles/common/i586/grub +++ b/config/rootfiles/common/i586/grub @@ -1,4 +1,5 @@ #boot/grub +boot/grub/default boot/grub/grub.conf boot/grub/ipfire.xpm.gz boot/grub/stage1 diff --git a/lfs/grub b/lfs/grub index 8d58099759..6850a3a58f 100644 --- 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 # # # # 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)