From 10af520f16fb1019a2bcee3c2101bfaa22f0ccb8 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 12 Nov 2012 23:42:08 +0100 Subject: [PATCH] grub: create default file. grub will not boot if the file not exist. --- config/rootfiles/common/i586/grub | 1 + lfs/grub | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.2