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
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue