2008-07-11 Robert Millan <rmh@aybabtu.com>
* util/grub.d/40_custom.in: New file. Example on how to add custom entries to /etc/grub.d. * conf/common.rmk (%, update-grub_SCRIPTS, CLEANFILES): Install 40_custom (implicitly, by merging all the grub.d rules).
This commit is contained in:
parent
0059cf6fdd
commit
d49a4cf6a7
5 changed files with 17 additions and 42 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-07-11 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* util/grub.d/40_custom.in: New file. Example on how to add custom
|
||||
entries to /etc/grub.d.
|
||||
* conf/common.rmk (%, update-grub_SCRIPTS, CLEANFILES): Install
|
||||
40_custom (implicitly, by merging all the grub.d rules).
|
||||
|
||||
2008-07-11 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* commands/read.c (grub_getline): Fix invalid memory access.
|
||||
|
|
1
DISTLIST
1
DISTLIST
|
@ -327,6 +327,7 @@ util/grub.d/00_header.in
|
|||
util/grub.d/10_hurd.in
|
||||
util/grub.d/10_linux.in
|
||||
util/grub.d/30_os-prober.in
|
||||
util/grub.d/40_custom.in
|
||||
util/grub.d/README
|
||||
util/grub-emu.c
|
||||
util/grub-mkdevicemap.c
|
||||
|
|
|
@ -470,29 +470,11 @@ update-grub_lib: util/update-grub_lib.in config.status
|
|||
lib_DATA += update-grub_lib
|
||||
CLEANFILES += update-grub_lib
|
||||
|
||||
00_header: util/grub.d/00_header.in config.status
|
||||
%: util/grub.d/%.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 00_header
|
||||
CLEANFILES += 00_header
|
||||
|
||||
10_linux: util/grub.d/10_linux.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 10_linux
|
||||
CLEANFILES += 10_linux
|
||||
|
||||
10_hurd: util/grub.d/10_hurd.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 10_hurd
|
||||
CLEANFILES += 10_hurd
|
||||
|
||||
30_os-prober: util/grub.d/30_os-prober.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 30_os-prober
|
||||
CLEANFILES += 30_os-prober
|
||||
update-grub_SCRIPTS = 00_header 10_linux 10_hurd 30_os-prober 40_custom
|
||||
CLEANFILES += $(update-grub_SCRIPTS)
|
||||
|
||||
update-grub_DATA += util/grub.d/README
|
||||
|
||||
|
|
|
@ -112,29 +112,11 @@ update-grub_lib: util/update-grub_lib.in config.status
|
|||
lib_DATA += update-grub_lib
|
||||
CLEANFILES += update-grub_lib
|
||||
|
||||
00_header: util/grub.d/00_header.in config.status
|
||||
%: util/grub.d/%.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 00_header
|
||||
CLEANFILES += 00_header
|
||||
|
||||
10_linux: util/grub.d/10_linux.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 10_linux
|
||||
CLEANFILES += 10_linux
|
||||
|
||||
10_hurd: util/grub.d/10_hurd.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 10_hurd
|
||||
CLEANFILES += 10_hurd
|
||||
|
||||
30_os-prober: util/grub.d/30_os-prober.in config.status
|
||||
./config.status --file=$@:$<
|
||||
chmod +x $@
|
||||
update-grub_SCRIPTS += 30_os-prober
|
||||
CLEANFILES += 30_os-prober
|
||||
update-grub_SCRIPTS = 00_header 10_linux 10_hurd 30_os-prober 40_custom
|
||||
CLEANFILES += $(update-grub_SCRIPTS)
|
||||
|
||||
update-grub_DATA += util/grub.d/README
|
||||
|
||||
|
|
3
util/grub.d/40_custom.in
Normal file
3
util/grub.d/40_custom.in
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec tail -n +3 $0
|
||||
# This file is an example on how to add custom entries
|
Loading…
Reference in a new issue