grub/grub-core
Vladimir 'phcoder' Serbinenko d3c13cbd62 Integrate hints into autogeneration scripts.
* docs/grub.texi (Filesystems): Add a hostdisk example.
	* Makefile.util.def (grub-mkdevicemap): Remove ofpath.
	(grub-probe): Add ofpath.
	* gentpl.py: Remove group nosparc64.
	* grub-core/commands/search.c (cache_entry): New struct.
	(cache): New var.
	(FUNC_NAME): Use and save cache. Fix handling of trailing comma.
	* grub-core/commands/search_wrap.c (options): Add platform-specific
	hint options.
	(grub_cmd_search): Handle platform-specific hints.
	(GRUB_MOD_INIT): Declare grub_cmd_search as accept_dash.
	* grub-core/kern/emu/hostdisk.c (map): New field device_map.
	(grub_util_biosdisk_data): Likewise.
	(grub_util_biosdisk_open): Set device_map.
	(read_device_map): Handle "" as indication of no map.
	Set device_map.
	(find_system_device): Add hostdisk/ prefix for autogenerated entries.
	(grub_util_biosdisk_get_compatibility_hint): New function.
	* grub-core/normal/main.c (features): Add feature_platform_search_hint.
	* include/grub/emu/hostdisk.h
	(grub_util_biosdisk_get_compatibility_hint): New proto.
	* util/grub-install.in: Don't call grub-mkdevicemap.
	Add platform-specific hint to load.cfg.
	* util/grub-mkconfig.in: Don't call grub-mkdevicemap.
	* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
	hints. Set root preliminary to compatibility hint, not to OS name.
	* util/grub-probe.c (PRINT_*): Add hints.
	(print): Make static.
	(escape_of_path): New function.
	(guess_bios_drive): Likewise.
	(guess_efi_drive): Likewise.
	(guess_baremetal_drive): Likewise.
	(print_full_name): Likewise.
	(probe): Handle hints.
	(main): Likewise.
	* util/ieee1275/devicemap.c: Removed.
	* util/ieee1275/ofpath.c (find_obppath): Allow to fail. All users
	updated.
	(grub_util_devname_to_ofpath): Return NULL on failure.

	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Fix
	resource leak.
	* util/getroot.c (grub_util_pull_device): Fix memory leak.

	* po/POTFILES.in: Regenerated.

	Allow purely long options

	* grub-core/lib/arg.c (SHORT_ARG_HELP): Removed.
	(SHORT_ARG_USAGE): Likewise.
	(grub_arg_show_help): Compare opt with help_options.
	(parse_option): Receive opt as argument. If makes big simplificatons.
	All users updated
2011-12-24 15:09:26 +01:00
..
boot * grub-core/boot/i386/pc/startup_raw.S: Add missing argument for 2011-12-23 10:21:27 +01:00
bus Add noreturn attributes and remove unreachable code. 2011-12-13 15:13:51 +01:00
commands search cache 2011-12-23 21:14:34 +01:00
disk * grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Add ieee1275/ 2011-12-24 02:40:18 +01:00
efiemu Replace UINT_TO_PTR and PTR_TO_UINT with explicit grub_addr_t casts. 2011-12-15 19:59:49 +01:00
font * grub-core/commands/acpihalt.c: Gettextized. 2011-11-11 21:44:56 +01:00
fs Integrate hints into autogeneration scripts. 2011-12-24 15:09:26 +01:00
gettext Add const keyword to grub_env_get and gettextize week days. 2011-11-11 20:34:37 +01:00
gfxmenu * grub-core/gfxmenu/gui_label.c (label_paint): Handle the case 2011-12-15 19:35:54 +01:00
gnulib Add missing const qualifiers. 2011-11-30 16:20:13 +01:00
hello Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io merge mainline into net 2011-12-15 20:51:35 +01:00
kern merge mainline into hints 2011-12-24 02:52:43 +01:00
lib Integrate hints into autogeneration scripts. 2011-12-24 15:09:26 +01:00
loader * grub-core/loader/multiboot.c (grub_cmd_module): Fix target address. 2011-12-15 20:05:27 +01:00
mmap forgotten file for previous commit 2011-12-15 20:04:21 +01:00
net * grub-core/net/net.c (grub_cmd_delroute): Add missing out condition. 2011-12-23 11:54:08 +01:00
normal merge mainline into hints 2011-12-23 18:49:00 +01:00
partmap * grub-core/partmap/dvh.c (grub_dvh_is_valid): Make argument 2011-12-13 14:44:38 +01:00
parttool * grub-core/commands/acpihalt.c: Gettextized. 2011-11-11 21:44:56 +01:00
script Add const keyword to grub_env_get and gettextize week days. 2011-11-11 20:34:37 +01:00
term * grub-core/term/at_keyboard.c (set_scancodes): Fix preprocessor 2011-12-13 01:36:09 +01:00
tests Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
video Fix video on platforms where unaligned access is forbidden. 2011-12-13 20:07:33 +01:00
gdb_grub.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
genmoddep.awk use objcopy instead of creating mod-*.c and mod-*.o 2010-08-29 16:43:07 +05:30
gensyminfo.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
gensymlist.sh track function symbols 2011-05-08 18:29:37 +02:00
gentrigtables.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gmodule.pl.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
Makefile.am Move chainloader_real_boot out of the kernel 2011-10-21 00:16:59 +02:00
Makefile.core.def Support odc, newc and bigendian cpio formats. 2011-12-23 16:15:18 +01:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00