grub2/util/grub.d
Vladimir 'phcoder' Serbinenko d9bef9bc43 Fix menu title instability bug.
* grub-core/commands/menuentry.c (options): New option --id.
	(grub_normal_add_menu_entry): New argument id. All users updated.
	(grub_cmd_menuentry): Handle --id.
	(grub_menu_init): Accept unknown arguments.
	* grub-core/normal/main.c (features): Add feature_menuentry_id and
	feature_menuentry_options.
	* grub-core/normal/menu.c (grub_menu_execute_entry): Use id for
	saved_entry.
	(get_entry_number): Match with id as well.
	* include/grub/menu.h (grub_menu_entry): New member id.
	* util/grub-mkconfig_lib.in (grub_get_device_id): New function.
	* util/grub.d/00_header.in: Define menuentry_id_option.
	* util/grub.d/10_hurd.in: Define id.
	* util/grub.d/10_illumos.in: Likewise.
	* util/grub.d/10_kfreebsd.in: Likewise.
	* util/grub.d/10_linux.in: Likewise.
	* util/grub.d/10_netbsd.in: Likewise.
	* util/grub.d/10_windows.in: Likewise.
	* util/grub.d/20_linux_xen.in: Likewise.
	* util/grub.d/30_os-prober.in: Likewise.
2012-03-04 14:55:13 +01:00
..
00_header.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
10_hurd.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
10_illumos.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
10_kfreebsd.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
10_linux.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
10_netbsd.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
10_windows.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
20_linux_xen.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
30_os-prober.in Fix menu title instability bug. 2012-03-04 14:55:13 +01:00
40_custom.in 2009-09-10 Robert Millan <rmh.grub@aybabtu.com> 2009-09-10 12:53:25 +00:00
41_custom.in custom.cfg support. 2010-06-12 13:20:21 +02:00
README 2007-05-04 Robert Millan <rmh@aybabtu.com> 2007-05-04 07:11:44 +00:00

All executable files in this directory are processed in shell expansion order.

  00_*: Reserved for 00_header.
  10_*: Native boot entries.
  20_*: Third party apps (e.g. memtest86+).

The number namespace in-between is configurable by system installer and/or
administrator.  For example, you can add an entry to boot another OS as
01_otheros, 11_otheros, etc, depending on the position you want it to occupy in
the menu; and then adjust the default setting via /etc/default/grub.