grub: create default file.

grub will not boot if the file not exist.
This commit is contained in:
Arne Fitzenreiter
2012-11-12 23:42:08 +01:00
parent ef2534611b
commit 10af520f16
2 changed files with 5 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
#boot/grub
boot/grub/default
boot/grub/grub.conf
boot/grub/ipfire.xpm.gz
boot/grub/stage1

View File

@@ -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)