- If we find a background image and no colours were specified, use
upstream defaults for color_normal and color_highlight rather than
setting color_normal to black/black.
- Don't try the other alternatives when $GRUB_BACKGROUND is set; you can
now add GRUB_BACKGROUND= to /etc/default/grub to force no background
image (closes: #608263).
- If we find a background image and no colours were specified, use
upstream defaults for color_normal and color_highlight rather than
setting color_normal to black/black.
- Make the code more readable by replacing code for handling
alternatives.
- Make the code for searching for pictures in /boot/grub more readable
and robust (for example against newlines in the filename).
- Don't try the other alternatives when $GRUB_BACKGROUND is set; you can
now add GRUB_BACKGROUND= to /etc/default/grub to force no background
image (closes: #608263).
specified, then leave color_normal and color_highlight set to the
upstream default; previously we set the former to black text on a black
background, which was not very useful.
* conf/Makefile.common (STRIPFLAGS_KERNEL): Add -F elf32-i386 and
-R .drectve on cygwin.
* conf/i386-pc-cygwin-img-ld.sc: Merge rdata and pdata into data.
* configure.ac: Use $(top_builddir) in TARGET_OBJ2ELF.
(COND_CYGWIN): New condition.
* grub-core/Makefile.am (%.mod): Set TARGET_OBJ2ELF.
* grub-core/genmod.sh.in: Use ${TARGET_OBJ2ELF} and
not @TARGET_OBJ2ELF@.
* util/grub-pe2elf.c (write_symbol_table): Use pe_symtab->type and not
type to determine whether aux is to be used.
- Don't check amount of low memory, as reportedly INT 12h can be broken
and if low memory is too low we wouldn't have gotten into
grub_machine_init anyway (closes: #588293, LP: #513528).
- Submenu default support (LP: #691878).
- Fix optimisation-dependent grub-mklayout crash (closes: #609584).
* grub-core/loader/i386/linux.c (grub_linux_setup_video): Use
grub_video_get_driver_id and variable gfxpayloadforcelfb to
fill have_vga.
(grub_linux_boot): Rely on grub_linux_setup_video to fill have_vga and
shift params->lfb_size.
* include/grub/i386/linux.h: Make an enume out of have_vga values.
* grub-core/normal/menu.c (grub_menu_execute_entry): New parameter
auto_boot. All users updated.
Declared static.
Handle chosen and default with submenus.
(grub_menu_execute_with_fallback): Declared static.
Don't notify failure if autobooted. Upper level does it.
(menuentry_eq): New function.
(get_entry_number): Use menuentry_eq.
(show_menu): New parameter "autobooted". All users updated.
(grub_show_menu): Likewise.
* include/grub/normal.h (grub_show_menu): Likewise.
* include/grub/menu.h (grub_menu_execute_entry): Removed.
(grub_menu_execute_with_fallback): Likewise.
(grub_machine_init): Don't check amount of low memory as reportedly
INT 12h can be broken and if low memory is too low we wouldn't have
gotten into grub_machine_init anyway.