]> git.proxmox.com Git - grub2.git/log
grub2.git
13 years agoFix loading GRUB from lnxboot (LP: #693671).
Colin Watson [Mon, 14 Mar 2011 16:25:23 +0000 (16:25 +0000)]
Fix loading GRUB from lnxboot (LP: #693671).

13 years ago* Update ntldr-img from grub-extras:
Colin Watson [Mon, 14 Mar 2011 16:23:04 +0000 (16:23 +0000)]
* Update ntldr-img from grub-extras:
  - Only call ntfs_fix_mmft if the attribute to find is AT_DATA.  This
    matches GRUB's NTFS module.
  - Install grubinst as grub-ntldr-img.

13 years agoUpdate branch_devmapper.patch, adding partitioned MD RAID support
Colin Watson [Mon, 14 Mar 2011 10:03:15 +0000 (10:03 +0000)]
Update branch_devmapper.patch, adding partitioned MD RAID support
(untested) and support for probing multipath disks.

13 years agoDon't touch /boot/grub/grub2-installed if using the --root-directory
Colin Watson [Thu, 24 Feb 2011 13:20:55 +0000 (13:20 +0000)]
Don't touch /boot/grub/grub2-installed if using the --root-directory
option to grub-install (thanks, Nicolas George; closes: #614927).

13 years agoreleasing version 1.99~rc1-3
Colin Watson [Wed, 16 Feb 2011 14:55:45 +0000 (14:55 +0000)]
releasing version 1.99~rc1-3

13 years ago* Update ntldr-img from grub-extras:
Colin Watson [Mon, 14 Feb 2011 14:45:38 +0000 (14:45 +0000)]
* Update ntldr-img from grub-extras:
  - Install g2hdr.bin and g2ldr.mbr (closes: #613245).

13 years agoAdjust /etc/default/grub for rename of GRUB_DISABLE_LINUX_RECOVERY to
Colin Watson [Thu, 10 Feb 2011 17:17:07 +0000 (17:17 +0000)]
Adjust /etc/default/grub for rename of GRUB_DISABLE_LINUX_RECOVERY to
GRUB_DISABLE_RECOVERY (closes: #612777).

13 years agoTolerate camcontrol failing to read capacity of IDE devices, until such
Colin Watson [Wed, 9 Feb 2011 13:29:08 +0000 (13:29 +0000)]
Tolerate camcontrol failing to read capacity of IDE devices, until such
time as we know how to do this properly (see #612128).

13 years agoWe need at least freebsd-utils (>= 8.0-4) on kFreeBSD architectures for
Colin Watson [Wed, 9 Feb 2011 13:04:05 +0000 (13:04 +0000)]
We need at least freebsd-utils (>= 8.0-4) on kFreeBSD architectures for
camcontrol, so depend on it.

13 years agoRefer to the info documentation at the top of /etc/default/grub (closes:
Colin Watson [Wed, 9 Feb 2011 12:56:55 +0000 (12:56 +0000)]
Refer to the info documentation at the top of /etc/default/grub (closes:
#612538).

13 years agoSuppress output from debconf-communicate in upgrade-from-grub-legacy.
Colin Watson [Wed, 9 Feb 2011 04:09:30 +0000 (04:09 +0000)]
Suppress output from debconf-communicate in upgrade-from-grub-legacy.

13 years agoBuild for ppc64 (except for grub-emu, which doesn't build cleanly yet).
Colin Watson [Wed, 9 Feb 2011 01:08:18 +0000 (01:08 +0000)]
Build for ppc64 (except for grub-emu, which doesn't build cleanly yet).

13 years agoreleasing version 1.99~rc1-2
Colin Watson [Tue, 8 Feb 2011 12:15:57 +0000 (12:15 +0000)]
releasing version 1.99~rc1-2

13 years agoUpload to unstable.
Colin Watson [Tue, 8 Feb 2011 11:19:56 +0000 (11:19 +0000)]
Upload to unstable.

13 years agoAdd rootflags=subvol=<name> if / is on a btrfs subvolume (LP: #712029).
Colin Watson [Fri, 4 Feb 2011 14:29:21 +0000 (14:29 +0000)]
Add rootflags=subvol=<name> if / is on a btrfs subvolume (LP: #712029).

13 years agoHandle empty dir passed to grub_find_root_device_from_mountinfo; fixes
Colin Watson [Fri, 4 Feb 2011 13:38:15 +0000 (13:38 +0000)]
Handle empty dir passed to grub_find_root_device_from_mountinfo; fixes
grub-mkrelpath on btrfs subvolumes (LP: #712029).

13 years agomkconfig_skip_dmcrypt.patch: Refer to GRUB_PRELOAD_MODULES rather than
Colin Watson [Sat, 22 Jan 2011 01:39:35 +0000 (01:39 +0000)]
mkconfig_skip_dmcrypt.patch: Refer to GRUB_PRELOAD_MODULES rather than
suggesting people write a /etc/grub.d/01_modules script (thanks, Jordan
Uggla).

13 years ago* Merge 1.98+20100804-13 and 1.98+20100804-14, updating translations:
Colin Watson [Tue, 18 Jan 2011 11:46:12 +0000 (11:46 +0000)]
* Merge 1.98+20100804-13 and 1.98+20100804-14, updating translations:
  - Kazakh (Baurzhan Muftakhidinov / Timur Birsh).

13 years agoreleasing version 1.98+20100804-14
Colin Watson [Tue, 18 Jan 2011 10:55:00 +0000 (10:55 +0000)]
releasing version 1.98+20100804-14

13 years agoreleasing version 1.99~rc1-1
Colin Watson [Mon, 17 Jan 2011 15:51:20 +0000 (15:51 +0000)]
releasing version 1.99~rc1-1

13 years ago* 05_debian_theme:
Colin Watson [Mon, 17 Jan 2011 13:42:47 +0000 (13:42 +0000)]
* 05_debian_theme:
  - 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).

13 years agocopy-edit
Colin Watson [Mon, 17 Jan 2011 13:29:58 +0000 (13:29 +0000)]
copy-edit

13 years agodebconf-updatepo
Colin Watson [Mon, 17 Jan 2011 13:27:44 +0000 (13:27 +0000)]
debconf-updatepo

13 years ago* 05_debian_theme:
Colin Watson [Mon, 17 Jan 2011 13:26:31 +0000 (13:26 +0000)]
* 05_debian_theme:
  - 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).

13 years agorefresh
Colin Watson [Mon, 17 Jan 2011 12:45:22 +0000 (12:45 +0000)]
refresh

13 years agoIf 05_debian_theme finds a background image and no colours were
Colin Watson [Mon, 17 Jan 2011 12:29:40 +0000 (12:29 +0000)]
If 05_debian_theme finds a background image and no colours were
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.

13 years agoNew upstream release candidate.
Colin Watson [Mon, 17 Jan 2011 11:03:07 +0000 (11:03 +0000)]
New upstream release candidate.

13 years ago * configure.ac: Bump version to 1.99~rc1.
Vladimir 'phcoder' Serbinenko [Sun, 16 Jan 2011 11:54:03 +0000 (12:54 +0100)]
* configure.ac: Bump version to 1.99~rc1.

13 years ago * util/grub-mkimage.c (generate_image): Check fwstart.img checksum
Vladimir 'phcoder' Serbinenko [Sat, 15 Jan 2011 20:58:21 +0000 (21:58 +0100)]
* util/grub-mkimage.c (generate_image): Check fwstart.img checksum
for safety.

13 years ago * grub-core/kern/mips/yeeloong/init.c (grub_machine_init): Init boot
Vladimir 'phcoder' Serbinenko [Fri, 14 Jan 2011 18:23:34 +0000 (19:23 +0100)]
* grub-core/kern/mips/yeeloong/init.c (grub_machine_init): Init boot
module.

13 years ago * grub-core/Makefile.core.def (fwstart): Add lost LDFLAGS.
Vladimir 'phcoder' Serbinenko [Fri, 14 Jan 2011 18:21:06 +0000 (19:21 +0100)]
* grub-core/Makefile.core.def (fwstart): Add lost LDFLAGS.

13 years ago * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Quote bootpath and
Vladimir 'phcoder' Serbinenko [Thu, 13 Jan 2011 21:25:56 +0000 (22:25 +0100)]
* grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Quote bootpath and
diskdevid.

13 years ago Fix compilation on cygwin.
Vladimir 'phcoder' Serbinenko [Thu, 13 Jan 2011 21:23:49 +0000 (22:23 +0100)]
Fix compilation on cygwin.

* 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.

13 years agoreleasing version 1.99~20110112-1
Colin Watson [Thu, 13 Jan 2011 00:47:49 +0000 (00:47 +0000)]
releasing version 1.99~20110112-1

13 years agorefresh
Colin Watson [Thu, 13 Jan 2011 00:12:24 +0000 (00:12 +0000)]
refresh

13 years agobranch_butter.patch: Resolve the device returned by
Colin Watson [Thu, 13 Jan 2011 00:01:38 +0000 (00:01 +0000)]
branch_butter.patch: Resolve the device returned by
grub_find_root_device_from_mountinfo or find_root_device_from_libzfs
using grub_find_device (closes: #609590, #609814, LP: #700147).

13 years ago* New Bazaar snapshot.
Colin Watson [Wed, 12 Jan 2011 23:54:26 +0000 (23:54 +0000)]
* New Bazaar snapshot.
  - Disable ieee1275_fb on sparc (closes: #560823).
  - Fix pf2 font generation on big-endian platforms (closes: #609818).

13 years ago * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Use the
Vladimir 'phcoder' Serbinenko [Wed, 12 Jan 2011 18:58:32 +0000 (19:58 +0100)]
* util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Use the
realpath'ed device string.
Handle floppy (somewhat).
Issue error in unknown case rather than garbage.
Reported by: Axel Beckert.

13 years ago * util/grub.d/00_header.in (load_video): Handle the case when no video
Vladimir 'phcoder' Serbinenko [Wed, 12 Jan 2011 18:51:19 +0000 (19:51 +0100)]
* util/grub.d/00_header.in (load_video): Handle the case when no video
drivers available.
Thanks to: Axel Beckert.

13 years ago * util/grub-mkfont.c (write_font_pf2): Use appropriate type for data
Vladimir 'phcoder' Serbinenko [Wed, 12 Jan 2011 11:49:16 +0000 (12:49 +0100)]
* util/grub-mkfont.c (write_font_pf2): Use appropriate type for data
variable. Fixes problem on big endian platforms.

13 years ago * grub-core/Makefile.core.def (ieee1275_fb): Disable on sparc.
Vladimir 'phcoder' Serbinenko [Wed, 12 Jan 2011 10:55:52 +0000 (11:55 +0100)]
* grub-core/Makefile.core.def (ieee1275_fb): Disable on sparc.
It doesn't work well there.

13 years ago * grub-core/normal/context.c (grub_env_context_close): Silence spurious
Vladimir 'phcoder' Serbinenko [Wed, 12 Jan 2011 10:52:51 +0000 (11:52 +0100)]
* grub-core/normal/context.c (grub_env_context_close): Silence spurious
warning.
* grub-core/normal/menu.c (grub_menu_execute_entry): Likewise.
* grub-core/partmap/msdos.c (pc_partition_map_embed): Use unsigned
counter.

13 years ago Use alias->path rather than buggy "canon".
Vladimir 'phcoder' Serbinenko [Wed, 12 Jan 2011 10:26:28 +0000 (11:26 +0100)]
Use alias->path rather than buggy "canon".

* grub-core/disk/ieee1275/ofdisk.c (ofdisk_hash_add_real): New function.
(ofdisk_hash_add): New argument curcan. All users updated.

13 years ago* configure.ac: Fall back to `true' if `makeinfo' does not exist.
Colin Watson [Tue, 11 Jan 2011 23:49:27 +0000 (17:49 -0600)]
* configure.ac: Fall back to `true' if `makeinfo' does not exist.

13 years ago * grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_load32): Apply
Vladimir 'phcoder' Serbinenko [Tue, 11 Jan 2011 22:01:07 +0000 (23:01 +0100)]
* grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_load32): Apply
loadmask before doing any calculations. Use correct type for offset.
(grub_linux_load64): Likewise.

13 years agoreleasing version 1.99~20110111-1
Colin Watson [Tue, 11 Jan 2011 19:01:39 +0000 (19:01 +0000)]
releasing version 1.99~20110111-1

13 years ago* New Bazaar snapshot.
Colin Watson [Tue, 11 Jan 2011 16:26:37 +0000 (16:26 +0000)]
* New Bazaar snapshot.
  - 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).

13 years ago* util/grub-mklayout.c (console_grub_equivalences_shift): Terminate
Colin Watson [Tue, 11 Jan 2011 15:08:57 +0000 (09:08 -0600)]
* util/grub-mklayout.c (console_grub_equivalences_shift): Terminate
with NULL.
(console_grub_equivalences_unshift): Likewise.
Reported by: Daniel Dehennin.

13 years agoAdd a po/LINGUAS file listing the translations we've synced from the TP
Colin Watson [Tue, 11 Jan 2011 13:33:12 +0000 (13:33 +0000)]
Add a po/LINGUAS file listing the translations we've synced from the TP
(closes: #609671).

13 years ago * grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable.
Vladimir 'phcoder' Serbinenko [Tue, 11 Jan 2011 10:51:05 +0000 (11:51 +0100)]
* grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable.
(set_env_limn_ro): Likewise.
(GRUB_MOD_INIT): Likewise.
* grub-core/hook/datehook.c (GRUB_MOD_INIT): Likewise. Change to
ARRAY_SIZE while on it.
(GRUB_MOD_FINI): Change to ARRAY_SIZE.
* grub-core/normal/context.c (grub_env_export): Move from here ...
* grub-core/kern/env.c (grub_env_export): ... here.
* grub-core/normal/context.c (grub_cmd_export): Skip exporting root and
prefix.
* grub-core/kern/main.c (grub_main): Export root and prefix.
* include/grub/env.h (grub_env_export): Export.
Reported by: Seth Goldberg.

13 years ago * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 23:44:56 +0000 (00:44 +0100)]
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Take into account space used by ELF sections and multiboot palette.
Reported by: Grégoire Sutre.

13 years ago * BUGS: New file.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 23:06:01 +0000 (00:06 +0100)]
* BUGS: New file.

13 years ago Pass more appropriate video id to Linux.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 23:02:01 +0000 (00:02 +0100)]
Pass more appropriate video id to Linux.

* 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.

13 years ago * util/grub-menulst2cfg.c: Add missing include of misc.h.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:57:49 +0000 (23:57 +0100)]
* util/grub-menulst2cfg.c: Add missing include of misc.h.

13 years ago * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Use comma as
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:56:11 +0000 (23:56 +0100)]
* grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Use comma as
separator and pass bootpath/devid even if only one of them is available.
Reported by: Seth Goldberg.

13 years ago Don't use post-4G memory on EFI even if 64-bit since some non-compliant
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:51:10 +0000 (23:51 +0100)]
Don't use post-4G memory on EFI even if 64-bit since some non-compliant
implementations bug on them.

* grub-core/kern/efi/mm.c (grub_efi_allocate_pages): Skip post-4G
memory.
(filter_memory_map): Likewise.

13 years ago * util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:41:58 +0000 (23:41 +0100)]
* util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables.
Reported by: nebuchadnezzar.

13 years ago * util/grub-kbdcomp.in: Add missing transform and bindir variables.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:31:27 +0000 (23:31 +0100)]
* util/grub-kbdcomp.in: Add missing transform and bindir variables.
Reported by: nebuchadnezzar.

13 years ago Submenu default support.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:27:58 +0000 (23:27 +0100)]
Submenu default support.

* 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.

13 years ago * util/grub-mklayout.c (usage): Update help text.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 18:52:12 +0000 (19:52 +0100)]
* util/grub-mklayout.c (usage): Update help text.

13 years ago * grub-core/commands/legacycfg.c (legacy_file): Trim the line.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 18:25:00 +0000 (19:25 +0100)]
* grub-core/commands/legacycfg.c (legacy_file): Trim the line.

13 years ago * util/grub-menulst2cfg.c (main): Trim the line.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 18:20:50 +0000 (19:20 +0100)]
* util/grub-menulst2cfg.c (main): Trim the line.

13 years ago * grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:54:21 +0000 (17:54 +0100)]
* grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed.
(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.

13 years ago * grub-core/kern/i386/pc/mmap.c (grub_get_conv_memsize): New function.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:51:06 +0000 (17:51 +0100)]
* grub-core/kern/i386/pc/mmap.c (grub_get_conv_memsize): New function.
(grub_machine_mmap_iterate): Take low memory into account

13 years ago * grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:35:32 +0000 (17:35 +0100)]
* grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into
badfs.
Reported by: TiCPU.

13 years ago * grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:28:29 +0000 (17:28 +0100)]
* grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
members errors.

13 years agoTeach grub-mkconfig to load fs modules for NetBSD.
Grégoire Sutre [Mon, 10 Jan 2011 00:08:40 +0000 (01:08 +0100)]
Teach grub-mkconfig to load fs modules for NetBSD.

13 years agoHandle openbsd and netbsd types being in part_bsd module.
Grégoire Sutre [Sun, 9 Jan 2011 22:23:25 +0000 (23:23 +0100)]
Handle openbsd and netbsd types being in part_bsd module.

13 years ago * config.h.in (_LARGEFILE_SOURCE): Add missing define.
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 19:22:32 +0000 (20:22 +0100)]
* config.h.in (_LARGEFILE_SOURCE): Add missing define.
(_FILE_OFFSET_BITS): Likewise.
Reported by: Seth Goldberg.

13 years agoCheck for libdevmapper header
Grégoire Sutre [Sat, 8 Jan 2011 16:01:38 +0000 (17:01 +0100)]
Check for libdevmapper header

13 years ago * grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 00:56:09 +0000 (01:56 +0100)]
* grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to
avoid aliasing.
(fzap_lookup): Likewise.
(dnode_get): Likewise.
(make_mdn): Likewise.
(zfs_mount): Likewise.
(fzap_iterate): Use temporary pointer to avoid aliasing.
(grub_zfs_read): Likewise.
* grub-core/loader/i386/xnu.c (grub_xnu_boot): Likewise.
* grub-core/loader/xnu.c (grub_cmd_xnu_kernel): Use void * for some
pointers to avoid aliasing.
(grub_cmd_xnu_kernel64): Likewise.
(grub_xnu_load_driver): Likewise.

13 years ago * grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 00:50:06 +0000 (01:50 +0100)]
* grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence
aliasing warning.
(grub_cmd_terminal_output): Likewise.
Reported and tested by: Grégoire Sutre.

13 years ago * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 00:45:57 +0000 (01:45 +0100)]
* grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
warning.
Reported and tested by: Grégoire Sutre.

13 years ago * configure.ac: Do CPU substitution even if it's specified explicitly.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:44:38 +0000 (00:44 +0100)]
* configure.ac: Do CPU substitution even if it's specified explicitly.
Reported and tested by: Alain Greppin.

13 years ago * grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:39:12 +0000 (00:39 +0100)]
* grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os.
Reported and tested by: Alain Greppin.

13 years ago Satisfy some bison versions need for inttypes.h.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:34:23 +0000 (00:34 +0100)]
Satisfy some bison versions need for inttypes.h.

* grub-core/lib/posix_wrap/inttypes.h: New file.
* grub-core/lib/posix_wrap/sys/types.h (int8_t): New type.
(int16_t): Likewise.
(int32_t): Likewise.
(int64_t): Likewise.
Reported and tested by: Alain Greppin.

13 years ago * grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:27:38 +0000 (00:27 +0100)]
* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
Silence spurious warning.
Reported and tested by: Alain Greppin.

13 years ago * docs/grub.texi (Support automatic decompression): Update with xz
Szymon Janc [Fri, 7 Jan 2011 21:42:02 +0000 (22:42 +0100)]
* docs/grub.texi (Support automatic decompression): Update with xz
decompression support.

13 years agobranch_butter.patch: Don't free an uninitialised pointer if /proc is
Colin Watson [Fri, 7 Jan 2011 17:28:30 +0000 (17:28 +0000)]
branch_butter.patch: Don't free an uninitialised pointer if /proc is
unmounted (LP: #697493).

13 years ago Improve loaders' kernel command line handling.
Szymon Janc [Fri, 7 Jan 2011 16:09:39 +0000 (17:09 +0100)]
Improve loaders' kernel command line handling.

* grub-core/lib/cmdline.c: New file.
* include/grub/lib/cmdline.h: Likewise.
* grub-core/loader/i386/linux.c (grub_cmd_linux): Use
grub_create_loader_cmdline to create kernel command line.
* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
* grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Likewise.
* grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_linux): Likewise.
* grub-core/Makefile.core.def (linux16): Add lib/cmdline.c on i386_pc.
(linux): Add lib/cmdline.c on common.

13 years ago * grub-core/fs/xfs.c (grub_xfs_iterate_dir): Take into account that
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 16:06:42 +0000 (17:06 +0100)]
* grub-core/fs/xfs.c (grub_xfs_iterate_dir): Take into account that
inopos might be unaligned.

13 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 15:17:24 +0000 (16:17 +0100)]
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
endian transformations.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
Based on report by: Doug Nazar.

13 years agoKazakh (Baurzhan Muftakhidinov / Timur Birsh). Closes: #609187
Colin Watson [Fri, 7 Jan 2011 14:15:11 +0000 (14:15 +0000)]
Kazakh (Baurzhan Muftakhidinov / Timur Birsh).  Closes: #609187

13 years agorefresh patches
Colin Watson [Fri, 7 Jan 2011 14:02:52 +0000 (14:02 +0000)]
refresh patches

13 years ago * grub-core/disk/raid5_recover.c (grub_raid5_recover): Add missing
Doug Nazar [Fri, 7 Jan 2011 13:41:44 +0000 (14:41 +0100)]
* grub-core/disk/raid5_recover.c (grub_raid5_recover): Add missing
array->members[i].start_sector.
* grub-core/disk/raid6_recover.c (grub_raid6_recover): Likewise.

13 years ago * util/grub-setup.c (setup): Handle NetBSD and OpenBSD disklabels.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 12:27:34 +0000 (13:27 +0100)]
* util/grub-setup.c (setup): Handle NetBSD and OpenBSD disklabels.
Reported and tested by: Grégoire Sutre.

13 years agoreleasing version 1.99~20110106-1
Colin Watson [Thu, 6 Jan 2011 23:21:04 +0000 (23:21 +0000)]
releasing version 1.99~20110106-1

13 years agomerge from upstream
Colin Watson [Thu, 6 Jan 2011 13:25:33 +0000 (13:25 +0000)]
merge from upstream

13 years ago* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to
Colin Watson [Thu, 6 Jan 2011 13:24:38 +0000 (13:24 +0000)]
* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to
avoid causing test failures by clearing the screen.

13 years ago* New Bazaar snapshot.
Colin Watson [Thu, 6 Jan 2011 11:33:35 +0000 (11:33 +0000)]
* New Bazaar snapshot.
  - Check that named RAID array devices exist before using them (closes:
    #606035).
  - Clear terminfo output on initialisation (closes: #569678).
  - Fix grub-probe when btrfs is on / without a separate /boot.

13 years ago* grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
Colin Watson [Thu, 6 Jan 2011 11:09:17 +0000 (11:09 +0000)]
* grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
Fix prefix check to handle the case where dir ends with a slash
(most significantly, "/" itself).
Reported by: Michael Vogt.

13 years agoreleasing version 1.99~20110104-2
Colin Watson [Wed, 5 Jan 2011 16:28:54 +0000 (16:28 +0000)]
releasing version 1.99~20110104-2

13 years agohandle file move in parse-color branch
Colin Watson [Wed, 5 Jan 2011 13:29:40 +0000 (13:29 +0000)]
handle file move in parse-color branch

13 years agoWhen embedding the core image in a post-MBR gap, check for and avoid
Colin Watson [Wed, 5 Jan 2011 11:59:19 +0000 (11:59 +0000)]
When embedding the core image in a post-MBR gap, check for and avoid
sectors matching any of a number of known signatures, from the upstream
'embed-sectors' branch.

13 years agoUpdate branch_devmapper.patch, adding a #include to fix a build failure
Colin Watson [Wed, 5 Jan 2011 11:45:49 +0000 (11:45 +0000)]
Update branch_devmapper.patch, adding a #include to fix a build failure
on Ubuntu amd64.

13 years ago Run terminfo_cls on initing terminfo output to clear the screen and
Vladimir 'phcoder' Serbinenko [Wed, 5 Jan 2011 11:23:06 +0000 (12:23 +0100)]
Run terminfo_cls on initing terminfo output to clear the screen and
move the cursor to (0,0).

* grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_init_output):
Call grub_terminfo_output_init.
* grub-core/term/serial.c (grub_serial_term_output): Set .init.
* grub-core/term/terminfo.c (grub_terminfo_output_init): New function.
* include/grub/terminfo.h (grub_terminfo_output_init): New declaration.

13 years agoAdd a background_color command, from the upstream 'parse-color' branch.
Colin Watson [Wed, 5 Jan 2011 11:19:37 +0000 (11:19 +0000)]
Add a background_color command, from the upstream 'parse-color' branch.

13 years agoSupport long command lines as per the 2.06 Linux boot protocol, from the
Colin Watson [Wed, 5 Jan 2011 11:16:39 +0000 (11:16 +0000)]
Support long command lines as per the 2.06 Linux boot protocol, from the
upstream 'longlinuxcmd' branch.

13 years ago * util/grub-install.in: Determine ofpathname, nvsetenv and efibootmgr
Vladimir 'phcoder' Serbinenko [Wed, 5 Jan 2011 00:28:28 +0000 (01:28 +0100)]
* util/grub-install.in: Determine ofpathname, nvsetenv and efibootmgr
only when needed.

13 years ago * grub-core/term/terminfo.c (grub_terminfo_readkey): Handle keys with
Vladimir 'phcoder' Serbinenko [Wed, 5 Jan 2011 00:25:01 +0000 (01:25 +0100)]
* grub-core/term/terminfo.c (grub_terminfo_readkey): Handle keys with
CTRL.