grub/util/grub.d
Vladimir 'phcoder' Serbinenko 99ce1597a4 Add LZSS Mach-O support (needed for new xnu kernelcache).
* grub-core/Makefile.core.def (xnu): Add file lzss.c
	* grub-core/loader/lzss.c: New file.
	* grub-core/loader/xnu.c (grub_xnu_load_driver): Close binaryfile
	on Mach-O open failure.
	* grub-core/loader/macho.c (grub_macho_close): Free uncompressedXX.
	Don't free cmdsXX in uncompressedXX is set.
	(grub_macho_file): Init new fields.
	New argument is_64bit. All users updated.
	Handle compressed. Error out if no suitable architecture is found.
	Don't close file.
	(grub_macho_open): New argument is_64bit. All users updated.
	* grub-core/loader/macho32.c: Add defines for new fields.
	* grub-core/loader/macho64.c: Likewise.
	* grub-core/loader/machoXX.c (grub_macho_contains_macho): Make static.
	(grub_macho_parse): Handle compressed.
	Defer actual processing if compressed.
	(grub_macho_cmds_iterate): Decompress if compressed. New argument
	"filename". All users updated.
	(grub_macho_size): New argument "filename". All users updated.
	(grub_macho_get_entry_point): Likewise.
	(grub_macho_load): Handle compressed.
	* include/grub/macho.h (grub_macho_lzss_header): New struct.
	(GRUB_MACHO_LZSS_OFFSET): New define.
	(grub_decompress_lzss): New proto.
	* include/grub/machoload.h (grub_macho_file): New fields to handle
	compressed.
	(grub_macho_contains_macho64): Remove proto.
	(grub_macho_contains_macho32): Likewise.
	* util/grub.d/30_os-prober.in: Use kernel cache if available.
2012-02-29 13:26:13 +01:00
..
00_header.in Remove GRUB_PREFIX. 2012-02-26 18:21:31 +01:00
10_hurd.in 2012-02-19 Samuel Thibault <samuel.thibault@ens-lyon.org> 2012-02-19 17:06:00 +01:00
10_illumos.in Handle newer autotools. Add some missing quotes while on it. 2012-01-24 13:17:36 +01:00
10_kfreebsd.in * util/grub-mkstandalone.in: Fix help messages. Gettextize. 2012-02-03 11:42:22 +01:00
10_linux.in * util/grub.d/10_linux.in: Add ZFS-related arguments. 2012-02-27 19:07:09 +01:00
10_netbsd.in * util/grub-mkstandalone.in: Fix help messages. Gettextize. 2012-02-03 11:42:22 +01:00
10_windows.in Improve gettext support. Stylistic fixes and error handling fixes while 2012-02-08 19:26:01 +01:00
20_linux_xen.in * util/grub.d/10_linux.in: Add ZFS-related arguments. 2012-02-27 19:07:09 +01:00
30_os-prober.in Add LZSS Mach-O support (needed for new xnu kernelcache). 2012-02-29 13:26: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.