mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 21:12:59 +02:00
grub: create default file.
grub will not boot if the file not exist.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#boot/grub
|
||||
boot/grub/default
|
||||
boot/grub/grub.conf
|
||||
boot/grub/ipfire.xpm.gz
|
||||
boot/grub/stage1
|
||||
|
||||
5
lfs/grub
5
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)
|
||||
|
||||
Reference in New Issue
Block a user