]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
14 years agofeatures support
Vladimir 'phcoder' Serbinenko [Tue, 5 Apr 2011 13:05:53 +0000 (15:05 +0200)] 
features support

14 years agoBPB patching support (untested)
Vladimir 'phcoder' Serbinenko [Tue, 5 Apr 2011 12:40:15 +0000 (14:40 +0200)] 
BPB patching support (untested)

14 years ago Increase LVM implementation robustness in order not to crash on
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 14:28:14 +0000 (16:28 +0200)] 
Increase LVM implementation robustness in order not to crash on
configurations like pvmove. Previously code assumed that in some places
only lvs or only pvs are used whereas it seems that they are used
interchangeably.

* grub-core/disk/lvm.c (read_node): New function.
(read_lv): Use read_node.
(grub_lvm_scan_device): Use only first mirror on pvmove'd lvs.
Match volumes only at the end when all lvs are found. Take both
pvs (first) and lvs (second) into account.
* include/grub/lvm.h (grub_lvm_segment): Merge fields stripe_* and
mirror_* into node_*. All users updated.
(grub_lvm_stripe): Merge this ...
(grub_lvm_mirror): ... and this ...
(grub_lvm_node): ... into this. All users updated.

14 years ago * grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:57:44 +0000 (15:57 +0200)] 
* grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
of function to allow further scanning for LVMs.

14 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:45:20 +0000 (15:45 +0200)] 
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close
on failed seek as it breaks open fd reusage.

14 years ago * util/grub-install.in: Add a recommendation to use --recheck before
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:37:24 +0000 (15:37 +0200)] 
* util/grub-install.in: Add a recommendation to use --recheck before
reporting bugs.

14 years ago * docs/grub.texi (Vendor power-on buttons): Explain how the numbers
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:34:50 +0000 (15:34 +0200)] 
* docs/grub.texi (Vendor power-on buttons): Explain how the numbers
are obtained.

14 years ago GRUB developper manual based on existing Internals section and
Vladimir 'phcoder' Serbinenko [Sun, 3 Apr 2011 13:30:28 +0000 (15:30 +0200)] 
GRUB developper manual based on existing Internals section and
contributions by the various authors with active copyright assignment.

* docs/Makefile.am (info_TEXINFOS): Add grub-dev.texi.
* docs/font_char_metrics.png: New file.
* docs/font_char_metrics.txt: Likewise.
* docs/grub-dev.texi: Likewise.
* docs/grub.texi (Internals): Move from here ...
* docs/grub-dev.texi: ... here.

14 years agoStore the loopback device as data on loopback grub_disk structures,
Colin Watson [Fri, 1 Apr 2011 16:04:10 +0000 (17:04 +0100)] 
Store the loopback device as data on loopback grub_disk structures,
rather than the file it points to.  This fixes use of freed memory
if an existing loopback device is replaced.

* grub-core/disk/loopback.c (grub_loopback_open): Store dev in
disk->data, not dev->file.
(grub_loopback_read): Adjust file assignment to match.
Fixes Ubuntu bug #742967.

14 years ago* grub-core/disk/loopback.c (grub_cmd_loopback): Fix a memory leak
Colin Watson [Fri, 1 Apr 2011 14:35:09 +0000 (15:35 +0100)] 
* grub-core/disk/loopback.c (grub_cmd_loopback): Fix a memory leak
when replacing an existing device.

14 years ago Fix incorrect types in jfs.c. This enables >2TiB disks and fixes some
Vladimir 'phcoder' Serbinenko [Fri, 1 Apr 2011 13:53:06 +0000 (15:53 +0200)] 
Fix incorrect types in jfs.c. This enables >2TiB disks and fixes some
memory corruptions.

* grub-core/fs/jfs.c (struct grub_jfs_diropen): Interpret bytes as
unsigned.
(grub_jfs_lookup_symlink): Make ino a grub_uint32_t rather than int.
(grub_jfs_blkno): Use 64-bit quantities for block sectors.
(grub_jfs_read_inode): Likewise.
(grub_jfs_opendir): Likewise. Remove now useless casts.
(grub_jfs_getent): Likewise.
Make ino a grub_uint32_t rather than int.
(grub_jfs_mount): Ensure that blksize and log2_blksize are consistent.
(grub_jfs_read_file): Use 64-bit quantities when necessary. Replace
division and module with bit operations.
(grub_jfs_find_file): Make ino a grub_uint32_t.
(grub_jfs_lookup_symlink): Likewise. Use 64-bit quantities

14 years ago* grub-core/normal/menu_entry.c (run): Quieten uninitialised
Colin Watson [Fri, 1 Apr 2011 10:43:51 +0000 (11:43 +0100)] 
* grub-core/normal/menu_entry.c (run): Quieten uninitialised
  warning.  (This was in fact always initialised before use, but GCC
  wasn't smart enough to prove that.)
* grub-core/script/lexer.c (grub_script_lexer_yywrap): Likewise.

14 years ago * grub-core/kern/x86_64/efi/callwrap.S (efi_wrap_0): Preserve 16-byte
Vladimir 'phcoder' Serbinenko [Thu, 31 Mar 2011 14:48:36 +0000 (16:48 +0200)] 
* grub-core/kern/x86_64/efi/callwrap.S (efi_wrap_0): Preserve 16-byte
stack alignment.
(efi_wrap_1): Likewise.
(efi_wrap_2): Likewise.
(efi_wrap_3): Likewise.
(efi_wrap_4): Likewise.
(efi_wrap_5): Likewise.
(efi_wrap_6): Likewise.
(efi_wrap_10): Likewise.
Based on information by: Red Hat/Peter Jones.

14 years ago* grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove
Colin Watson [Thu, 31 Mar 2011 11:25:10 +0000 (12:25 +0100)] 
* grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove
set-but-not-used variable.

14 years ago* docs/grub.texi (Simple configuration): Be more explicit about
Colin Watson [Thu, 31 Mar 2011 07:46:41 +0000 (08:46 +0100)] 
* docs/grub.texi (Simple configuration): Be more explicit about
GRUB_DEFAULT, and add an example.
Reported by: Leslie Rhorer.

14 years ago* docs/grub.texi (Commands): Link to "GRUB only offers a rescue
Colin Watson [Wed, 30 Mar 2011 19:52:26 +0000 (20:52 +0100)] 
* docs/grub.texi (Commands): Link to "GRUB only offers a rescue
shell".

14 years ago * util/grub.d/10_linux.in: Add gentoo-specific config filename.
Alexey Shvetsov [Wed, 30 Mar 2011 18:53:23 +0000 (20:53 +0200)] 
* util/grub.d/10_linux.in: Add gentoo-specific config filename.
* util/grub.d/20_linux_xen.in: Likewise.

14 years ago * util/grub.d/10_linux.in: Try alternative config filenames where
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 18:42:42 +0000 (20:42 +0200)] 
* util/grub.d/10_linux.in: Try alternative config filenames where
we parse config file.
* util/grub.d/20_linux_xen.in: Likewise.

14 years ago * util/grub.d/10_linux.in: Add gentoo-specific Linux and initrd names.
Alexey Shvetsov [Wed, 30 Mar 2011 17:22:28 +0000 (19:22 +0200)] 
* util/grub.d/10_linux.in: Add gentoo-specific Linux and initrd names.
* util/grub.d/20_linux_xen.in: Likewise.

14 years ago * grub-core/disk/raid.c (insert_array): Add few potentially
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 14:54:11 +0000 (16:54 +0200)] 
* grub-core/disk/raid.c (insert_array): Add few potentially
useful grub_util_info.
(grub_raid_register): Likewise.

14 years ago * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]:
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 14:37:10 +0000 (16:37 +0200)] 
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]:
Preserve partition number in mdadm code path.

14 years ago * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Add
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 11:13:25 +0000 (13:13 +0200)] 
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Add
few potentially useful grub_util_info.

14 years agofix ChangeLog ordering
Colin Watson [Wed, 30 Mar 2011 11:07:43 +0000 (12:07 +0100)] 
fix ChangeLog ordering

14 years ago * grub-core/disk/lvm.c (grub_lvm_scan_device): Remove spurious \n.
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 11:02:39 +0000 (13:02 +0200)] 
* grub-core/disk/lvm.c (grub_lvm_scan_device): Remove spurious \n.

14 years ago* docs/grub.texi (default): Use @example rather than nested
Colin Watson [Wed, 30 Mar 2011 10:46:36 +0000 (11:46 +0100)] 
* docs/grub.texi (default): Use @example rather than nested
itemized lists to avoid breaking gendocs.

14 years ago* docs/grub.texi (Future): Update.
Colin Watson [Wed, 30 Mar 2011 10:34:52 +0000 (11:34 +0100)] 
* docs/grub.texi (Future): Update.

14 years ago* docs/grub.texi (Environment): New chapter.
<> [Wed, 30 Mar 2011 10:31:33 +0000 (11:31 +0100)] 
* docs/grub.texi (Environment): New chapter.
(Changes from GRUB Legacy): Link to "Environment block" section for
details of limitations.
(Simple configuration): Likewise.  Link to documentation of gfxmode
and gfxpayload variables from GRUB_GFXMODE and GRUB_GFXPAYLOAD
respectively.
(Shell-like scripting): Note that normal variables are stored in the
environment.
(gettext): Link to documentation of lang and locale_dir.
(list_env): New section.
(load_env): New section.
(save_env): New section.
(Reporting bugs): Fix typo.

14 years ago * docs/grub.texi: Correctly use "terminal_input" and not "terminal" in
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 07:35:35 +0000 (09:35 +0200)] 
* docs/grub.texi: Correctly use "terminal_input" and not "terminal" in
the example.

14 years ago * grub-core/term/at_keyboard.c (set_scancodes)
Vladimir 'phcoder' Serbinenko [Wed, 30 Mar 2011 07:26:23 +0000 (09:26 +0200)] 
* grub-core/term/at_keyboard.c (set_scancodes)
[!GRUB_MACHINE_MIPS_YEELOONG && !GRUB_MACHINE_QEMU]: Use scancode set 1.

14 years ago* docs/grub.texi (Menu-specific commands): Remove some semantics
Colin Watson [Wed, 30 Mar 2011 02:49:22 +0000 (03:49 +0100)] 
* docs/grub.texi (Menu-specific commands): Remove some semantics
that were true in GRUB Legacy but not in GRUB 2.
(submenu): New section.
(false): New section.
(read): New section.
(true): New section.

14 years ago* docs/grub.texi (Changes from GRUB Legacy): Minor proofreading.
Colin Watson [Wed, 30 Mar 2011 02:26:11 +0000 (03:26 +0100)] 
* docs/grub.texi (Changes from GRUB Legacy): Minor proofreading.

14 years agocredit
Colin Watson [Wed, 30 Mar 2011 02:22:37 +0000 (03:22 +0100)] 
credit

14 years ago* docs/grub.texi (Simple configuration): Explain some of the
Colin Watson [Wed, 30 Mar 2011 02:20:09 +0000 (03:20 +0100)] 
* docs/grub.texi (Simple configuration): Explain some of the
current limitations of grub-mkconfig.

14 years ago Old macs search for boot.efi rather than for bootia32.efi.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 22:05:25 +0000 (00:05 +0200)] 
Old macs search for boot.efi rather than for bootia32.efi.

* util/grub-install.in: Copy bootia32.efi to boot.efi.
* util/grub-mkrescue.in: Likewise.
Suggested by: Peter Jones.

14 years ago * util/grub.d/20_linux_xen.in: Accept old-style xen kernels.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 19:12:13 +0000 (21:12 +0200)] 
* util/grub.d/20_linux_xen.in: Accept old-style xen kernels.

14 years ago * include/grub/lvm.h (grub_lvm_lv): New field 'visible'.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 18:33:32 +0000 (20:33 +0200)] 
* include/grub/lvm.h (grub_lvm_lv): New field 'visible'.
(grub_lvm_segment): New fields 'type', 'mirror_count' and 'mirrors'.
(grub_lvm_mirror): New struct.
* grub-core/disk/lvm.c (grub_lvm_checkvalue): Commented out.
(grub_lvm_iterate): Iterate only visible volumes.
(grub_lvm_read): Factor out to ..
(read_lv): ... this. Support mirrors.
(grub_lvm_read): New wrapper function.
(grub_lvm_scan_device): Parse mirrors. Skip everything that isn't
stripped or mirrored.

14 years ago * util/grub.d/10_linux.in: Skip vmlinux-* on x86 platforms.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 17:47:34 +0000 (19:47 +0200)] 
* util/grub.d/10_linux.in: Skip vmlinux-* on x86 platforms.

14 years ago* docs/grub.texi (loopback): New section.
Colin Watson [Tue, 29 Mar 2011 17:08:23 +0000 (18:08 +0100)] 
* docs/grub.texi (loopback): New section.

14 years ago* grub-core/disk/loopback.c (GRUB_MOD_INIT): Stop documenting
Colin Watson [Tue, 29 Mar 2011 17:00:23 +0000 (18:00 +0100)] 
* grub-core/disk/loopback.c (GRUB_MOD_INIT): Stop documenting
removed -p option.

14 years ago* docs/grub.texi (BIOS installation): New section, partly based on
Colin Watson [Tue, 29 Mar 2011 13:32:38 +0000 (14:32 +0100)] 
* docs/grub.texi (BIOS installation): New section, partly based on
previous text in other sections.
(Installing GRUB using grub-install): Replace BIOS discussion with a
cross-reference.
(Images): Likewise.

14 years ago * grub-core/kern/emu/hostdisk.c (find_partition_start)
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 13:00:23 +0000 (15:00 +0200)] 
* grub-core/kern/emu/hostdisk.c (find_partition_start)
[HAVE_DIOCGDINFO]: Add safety checks.

14 years ago * util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 10:01:48 +0000 (12:01 +0200)] 
* util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's
per default compiled in kernel and prior to 8.0 isn't shipped at all.

14 years ago* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): If
Colin Watson [Tue, 29 Mar 2011 09:51:58 +0000 (10:51 +0100)] 
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): If
real_sb->size is zero (e.g. RAID-0), get the disk size from
real_sb->data_size instead.
Fixes Ubuntu bug #743136.

14 years ago * grub-core/normal/misc.c (grub_normal_print_device_info): Use correct
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 09:25:04 +0000 (11:25 +0200)] 
* grub-core/normal/misc.c (grub_normal_print_device_info): Use correct
printf clauses for printing size and start.

14 years ago * grub-core/fs/ext2.c (grub_ext2_read_inode): Fix an overflow.
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 08:56:14 +0000 (10:56 +0200)] 
* grub-core/fs/ext2.c (grub_ext2_read_inode): Fix an overflow.
Reported and tested by: Timothy Nikkel.

14 years ago * grub-core/term/gfxterm.c (dirty_region_add): Move core part to ...
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 06:33:28 +0000 (08:33 +0200)] 
* grub-core/term/gfxterm.c (dirty_region_add): Move core part to ...
(dirty_region_add_real): ... this.
(dirty_region_add): Don't discard margin refresh when performing
scheduled repaint.

14 years ago * grub-core/lib/relocator.c (allocate_regstart)
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 06:20:19 +0000 (08:20 +0200)] 
* grub-core/lib/relocator.c (allocate_regstart)
[!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Avoid grub_dprintf since not all
terminals are capabple of malloc-free operation.
(allocate_inreg) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.
(malloc_in_range) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise.

14 years ago * util/grub-setup.c: Copy the partition table zone if floppy support
Vladimir 'phcoder' Serbinenko [Tue, 29 Mar 2011 00:20:52 +0000 (02:20 +0200)] 
    * util/grub-setup.c: Copy the partition table zone if floppy support
is disabled, even if no partition table is found.

        Otherwise, the BIOS on Dell Latitude E series laptops will freeze
        during POST if an invalid partition table is contained in the PBR
        of the active partition when GRUB is installed to a partition.

14 years ago* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Remove stale
Colin Watson [Mon, 28 Mar 2011 14:17:22 +0000 (15:17 +0100)] 
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Remove stale
comment.

14 years ago* grub-core/disk/raid.c (grub_raid_register): Adjust debug message
Colin Watson [Mon, 28 Mar 2011 12:23:54 +0000 (13:23 +0100)] 
* grub-core/disk/raid.c (grub_raid_register): Adjust debug message
to be specific about what kind of RAID device we're scanning for.

14 years ago* grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): Don't return freed...
Seth Goldberg [Sat, 26 Mar 2011 22:22:59 +0000 (23:22 +0100)] 
* grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): Don't return freed string.

14 years ago * grub-core/fs/iso9660.c (grub_iso9660_label): Rtrim the label.
Vladimir 'phcoder' Serbinenko [Sat, 26 Mar 2011 13:14:59 +0000 (14:14 +0100)] 
* grub-core/fs/iso9660.c (grub_iso9660_label): Rtrim the label.

14 years ago Use libgeom on FreeBSD to detect partitions.
Vladimir 'phcoder' Serbinenko [Sat, 26 Mar 2011 11:59:02 +0000 (12:59 +0100)] 
Use libgeom on FreeBSD to detect partitions.

* Makefile.util.def (grub-mkimage): Add LIBGEOM to ldadd.
(grub-mkrelpath): Likewise.
(grub-script-check): Likewise.
(grub-editenv): Likewise.
(grub-mkpasswd-pbkdf2): Likewise.
(grub-fstest): Likewise.
(grub-mkfont): Likewise.
(grub-mkdevicemap): Likewise.
(grub-probe): Likewise.
(grub-setup): Likewise.
(grub-ofpathname): Likewise.
(grub-mklayout): Likewise.
(example_unit_test): Likewise.
(grub-menulst2cfg): Likewise.
* grub-core/Makefile.core.def (grub-emu): Likewise.
(grub-emu-lite): Likewise.
* configure.ac: Check for -lgeom on FreeBSD and set LIBGEOM.
* grub-core/kern/emu/hostdisk.c [FreeBSD]: Include libgeom.h. Don't
define HAVE_DIOCGDINFO.
(follow_geom_up) [FreeBSD]: New function.
(find_partition_start) [FreeBSD]: Rewritten using follow_geom_up.
(convert_system_partition_to_system_disk) [FreeBSD]: Likewise.
(grub_util_biosdisk_get_grub_dev) [FreeBSD]: Use FreeBSD path
unconditionally of HAVE_DIOCGDINFO.

14 years ago Fix FreeBSD compilation problem.
Vladimir 'phcoder' Serbinenko [Sat, 26 Mar 2011 11:49:34 +0000 (12:49 +0100)] 
Fix FreeBSD compilation problem.

* grub-core/kern/emu/hostdisk.c (MAJOR) [FreeBSD]: New definition.
(FLOPPY_MAJOR) [FreeBSD]: Likewise.

14 years ago* grub-core/video/fb/video_fb.c (grub_video_fb_get_info_and_fini):
Colin Watson [Fri, 25 Mar 2011 00:03:54 +0000 (00:03 +0000)] 
* grub-core/video/fb/video_fb.c (grub_video_fb_get_info_and_fini):
Switch back to page zero before loading a kernel, since some kernel
drivers expect that.
Thanks to: Felix Kuehling.

14 years ago * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_addr)
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:45:51 +0000 (12:45 +0100)] 
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_addr)
[DEBUG_RELOCATOR]: Reuse grub_mm_check.
(grub_relocator_alloc_chunk_align) [DEBUG_RELOCATOR]: Likewise.

14 years ago * include/grub/mm.h (GRUB_MM_CHECK): Rename to ...
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:43:28 +0000 (12:43 +0100)] 
* include/grub/mm.h (GRUB_MM_CHECK): Rename to ...
(grub_mm_check): ... this. MAke a function-like macro and use GRUB_FILE.

14 years ago * grub-core/lib/relocator.c (allocate_inreg): Avoid dprintf unless
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:39:48 +0000 (12:39 +0100)] 
* grub-core/lib/relocator.c (allocate_inreg): Avoid dprintf unless
DEBUG_RELOCATOR is defined since gfxterm can't cope with output when
malloc is disabled.

14 years ago * grub-core/loader/i386/bsdXX.c (grub_freebsd_load_elfmodule): Account
Vladimir 'phcoder' Serbinenko [Thu, 24 Mar 2011 11:28:22 +0000 (12:28 +0100)] 
* grub-core/loader/i386/bsdXX.c (grub_freebsd_load_elfmodule): Account
for modules headers when counting the needed allocation size.

14 years ago * grub-core/term/gfxterm.c (calculate_normal_character_width): Return 8
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 19:29:17 +0000 (20:29 +0100)] 
* grub-core/term/gfxterm.c (calculate_normal_character_width): Return 8
if no ASCII character is found to prevent crash.

14 years ago * grub-core/video/bitmap.c (match_extension): Ignore case.
Alexander Kurtz [Wed, 23 Mar 2011 16:08:56 +0000 (17:08 +0100)] 
* grub-core/video/bitmap.c (match_extension): Ignore case.

14 years ago * grub-core/normal/menu_entry.c (init_line): Fix off-by-one error.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 13:18:56 +0000 (14:18 +0100)] 
* grub-core/normal/menu_entry.c (init_line): Fix off-by-one error.

14 years ago * grub-core/script/parser.y: Declare "time" as valid argument.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 12:23:50 +0000 (13:23 +0100)] 
* grub-core/script/parser.y: Declare "time" as valid argument.

14 years ago Fix incorrect assert failure reporting.
Peter Jones [Wed, 23 Mar 2011 12:01:42 +0000 (13:01 +0100)] 
Fix incorrect assert failure reporting.

* grub-core/tests/example_functional_test.c (example_test): Add
a failure comment.
* grub-core/tests/lib/test.c (add_failure): Renamed to ...
(failure_start): ...this. Check that malloc succeeded.
Don't call xvasprintf. Return failure struct.
(failure_append_vtext): New function.
(failure_append_text): Likewise.
(add_failure): Likewise.
(grub_test_assert_helper): Likewise.
* include/grub/test.h (grub_test_assert_helper): New declaration.
(grub_test_assert): Macro rewritten.

14 years ago * grub-core/normal/main.c (GRUB_MOD_INIT): Export pager variable.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:40:15 +0000 (12:40 +0100)] 
* grub-core/normal/main.c (GRUB_MOD_INIT): Export pager variable.

14 years ago * grub-core/lib/i386/pc/biosnum.c: Add missing include.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:23:42 +0000 (12:23 +0100)] 
* grub-core/lib/i386/pc/biosnum.c: Add missing include.

14 years ago * grub-core/disk/usbms.c (grub_usbms_reset): Transform USB-style error
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:21:15 +0000 (12:21 +0100)] 
* grub-core/disk/usbms.c (grub_usbms_reset): Transform USB-style error
into GRUB-style one.

14 years agomissing file in last change
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:18:21 +0000 (12:18 +0100)] 
missing file in last change

14 years ago * grub-core/bus/usb/usbtrans.c (grub_usb_control_msg): Return usb-style
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:17:05 +0000 (12:17 +0100)] 
* grub-core/bus/usb/usbtrans.c (grub_usb_control_msg): Return usb-style
error and not grub_errno.
* grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise.

14 years ago * grub-core/bus/usb/uhci.c (grub_uhci_detect_dev): Return
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:13:39 +0000 (12:13 +0100)] 
* grub-core/bus/usb/uhci.c (grub_uhci_detect_dev): Return
GRUB_USB_SPEED_NONE in case of failure and not the error code.

14 years ago * grub-core/efiemu/i386/pc/cfgtables.c
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:08:33 +0000 (12:08 +0100)] 
* grub-core/efiemu/i386/pc/cfgtables.c
(grub_machine_efiemu_init_tables): Make declaration a prototype.
* grub-core/loader/xnu.c (grub_xnu_lock): Likewise.
(grub_xnu_unlock): Likewise.
* grub-core/normal/cmdline.c (grub_cmdline_get/cl_set_pos_all): Likewise.

14 years ago * grub-core/bus/usb/usb.c (attach_hooks): Make static.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 11:05:13 +0000 (12:05 +0100)] 
* grub-core/bus/usb/usb.c (attach_hooks): Make static.
* grub-core/bus/usb/usbhub.c (hubs): Likewise.
* grub-core/commands/hashsum.c (aliases): Likewise.
* grub-core/commands/setpci.c (pci_registers): Likewise.
* grub-core/disk/usbms.c (attach_hook): Likewise.
* grub-core/fs/zfs/zfs.c (decomp_table): Likewise.
(zio_checksum_table): Likewise.
* grub-core/gettext/gettext.c (grub_gettext_msg_list): Likewise.
* grub-core/gfxmenu/gfxmenu.c (cached_view): Likewise.
* grub-core/lib/legacy_parse.c (legacy_commands): Likewise.
* grub-core/lib/relocator.c (leftovers): Likewise.
(extra_blocks): Likewise.
* grub-core/loader/i386/bsd.c (relocator): Likewise.
* grub-core/loader/i386/multiboot_mbi.c (modules): Likewise.
(modules_last): Likewise.
* grub-core/loader/i386/xnu.c (table_aliases): Likewise.
(devices): Likewise.
* grub-core/loader/multiboot_mbi2.c (modules): Likewise.
(modules_last): Likewise.
* grub-core/normal/auth.c (users): Likewise.
* grub-core/normal/context.c (initial_menu): Likewise.
(current_menu): Likewise.
* grub-core/normal/crypto.c (crypto_specs): Likewise.
* grub-core/term/serial.c (grub_serial_ports): Likewise.
(grub_serial_terminfo_input_template): Likewise.
(grub_serial_terminfo_output_template): Likewise.
(grub_serial_terminfo_input): Likewise.
(grub_serial_terminfo_output): Likewise.
(registered): Likewise.
* grub-core/term/usb_keyboard.c (attach_hook): Likewise.

14 years ago * grub-core/video/bochs.c (grub_video_bochs_setup): Use
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 10:54:58 +0000 (11:54 +0100)] 
* grub-core/video/bochs.c (grub_video_bochs_setup): Use
grub_video_mode_type_t.
* grub-core/video/cirrus.c (grub_video_cirrus_setup): Likewise.
* grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Likewise.
* grub-core/video/i386/pc/vga.c (grub_video_vga_setup): Likewise.

14 years ago * util/grub-install.in: Correct the x86-64 name as x86_64.
Vladimir 'phcoder' Serbinenko [Wed, 23 Mar 2011 10:52:04 +0000 (11:52 +0100)] 
* util/grub-install.in: Correct the x86-64 name as x86_64.

14 years ago* grub-core/boot/i386/pc/lnxboot.S (real_code_2): Ensure that the
Colin Watson [Fri, 11 Mar 2011 11:51:10 +0000 (11:51 +0000)] 
* grub-core/boot/i386/pc/lnxboot.S (real_code_2): Ensure that the
initial chunk read from the kernel always includes GRUB's multiboot
header, which is now outside the first sector.

14 years ago* grub-core/loader/i386/linux.c (find_efi_mmap_size): Page-align
Colin Watson [Wed, 9 Mar 2011 17:38:31 +0000 (17:38 +0000)] 
* grub-core/loader/i386/linux.c (find_efi_mmap_size): Page-align
cached mmap_size, so that this works correctly when called multiple
times.
Reported by: Daniel Kahn Gillmor.  Should fix Debian bug #616638.

14 years ago* docs/grub.texi (Simple configuration): Tidy up formatting.
Colin Watson [Wed, 9 Mar 2011 17:35:16 +0000 (17:35 +0000)] 
* docs/grub.texi (Simple configuration): Tidy up formatting.

14 years ago2011-03-07 Szymon Janc <szymon@janc.net.pl>
Szymon Janc [Mon, 7 Mar 2011 21:23:06 +0000 (22:23 +0100)] 
2011-03-07  Szymon Janc <szymon@janc.net.pl>

* grub-core/fs/zfs/zfs.c (zap_leaf_lookup):
Set-but-not-used variable removed.

14 years ago Workaround yet another IEEE1275 bug.
Vladimir 'phcoder' Serbinenko [Sat, 12 Feb 2011 07:22:55 +0000 (10:22 +0300)] 
Workaround yet another IEEE1275 bug.

* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New enum value
GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS.
* grub-core/kern/ieee1275/mmap.c (grub_machine_mmap_iterate): Ignore
adress_cells and size:cells if GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS
is set.
* grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS on powermacs.

14 years ago * grub-core/partmap/msdos.c (pc_partition_map_embed): Fix off by one
Vladimir 'phcoder' Serbinenko [Sat, 12 Feb 2011 06:59:04 +0000 (09:59 +0300)] 
* grub-core/partmap/msdos.c (pc_partition_map_embed): Fix off by one
error.

14 years ago* util/grub.d/20_linux_xen.in: Bail out early if linux_list is
Colin Watson [Fri, 11 Feb 2011 13:00:54 +0000 (13:00 +0000)] 
* util/grub.d/20_linux_xen.in: Bail out early if linux_list is
empty, since in that case we can only generate either nothing or a
syntactically invalid configuration file.
Reported by: Michal Suchanek.  Fixes Debian bug #612898.

14 years ago* docs/grub.texi (Kernel): Add reference to grub-mkrescue.
Colin Watson [Wed, 9 Feb 2011 12:14:10 +0000 (12:14 +0000)] 
* docs/grub.texi (Kernel): Add reference to grub-mkrescue.
(Making a GRUB bootable CD-ROM): Likewise.
(Invoking grub-mkrescue): New section.
Reported by: Yann Dirson.  Fixes Debian bug #612585.

14 years ago* util/grub-install.in: Remove unnecessary brackets from tr
Colin Watson [Wed, 9 Feb 2011 11:23:11 +0000 (11:23 +0000)] 
* util/grub-install.in: Remove unnecessary brackets from tr
arguments.
* util/grub.d/10_hurd.in: Likewise.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.
Reported by: Jamie Heilman.  Fixes Debian bug #612564.

14 years ago* include/grub/file.h (not_easly_seekable): Rename to ...
Colin Watson [Tue, 8 Feb 2011 13:21:13 +0000 (13:21 +0000)] 
* include/grub/file.h (not_easly_seekable): Rename to ...
(not_easily_seekable): ... this.  Update all users.

14 years ago* docs/grub.texi (Making a GRUB bootable CD-ROM): Update to describe
Colin Watson [Fri, 28 Jan 2011 17:01:28 +0000 (17:01 +0000)] 
* docs/grub.texi (Making a GRUB bootable CD-ROM): Update to describe
grub-mkrescue.

14 years ago * util/grub-mkimage.c (generate_image): Refuse to create the images
Vladimir 'phcoder' Serbinenko [Mon, 24 Jan 2011 01:44:27 +0000 (02:44 +0100)] 
* util/grub-mkimage.c (generate_image): Refuse to create the images
bigger than the actual flash (512K) in Loongson machines. 512K is also
the biggest chip supported by them.

14 years ago * grub-core/kern/emu/getroot.c: Include config-util.h explicitly.
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 14:37:05 +0000 (15:37 +0100)] 
* grub-core/kern/emu/getroot.c: Include config-util.h explicitly.

14 years agoAdd missing ChangeLog entry
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 14:30:48 +0000 (15:30 +0100)] 
Add missing ChangeLog entry

14 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Check
Anthony DeRobertis [Sat, 22 Jan 2011 14:20:08 +0000 (15:20 +0100)] 
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Check
super_offset field.

14 years ago * util/grub-install.in: Ignore install device on platforms
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 14:10:29 +0000 (15:10 +0100)] 
* util/grub-install.in: Ignore install device on platforms
where it doesn't make sense. Always use UUIDs except on pc, efi and
sparc64.
Reported by: Daniel Kahn Gillmor.

14 years ago * grub-core/bus/bonito.c (write_bases): Fix direction of the shift.
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 13:26:18 +0000 (14:26 +0100)] 
* grub-core/bus/bonito.c (write_bases): Fix direction of the shift.

14 years ago * grub-core/partmap/bsdlabel.c: Include grub/emu/misc.h and not grub/util/misc.h.
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 13:15:17 +0000 (14:15 +0100)] 
* grub-core/partmap/bsdlabel.c: Include grub/emu/misc.h and not grub/util/misc.h.
(iterate_real): Don't rely on partition being non-NULL.

14 years ago * grub-core/script/argv.c (round_up_exp): unsigned is 32-bit on all
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 13:11:19 +0000 (14:11 +0100)] 
* grub-core/script/argv.c (round_up_exp): unsigned is 32-bit on all
supported platforms. Put a compile time assert for this rather than
generate a warning with 32-bit shift.

14 years ago * grub-core/disk/scsi.c (grub_scsi_read): Fix binary and check and make
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 12:22:46 +0000 (13:22 +0100)] 
* grub-core/disk/scsi.c (grub_scsi_read): Fix binary and check and make
logical expression more readable.

14 years ago * grub-core/disk/raid.c (insert_array): Ensure uniqueness of p->number
Vladimir 'phcoder' Serbinenko [Sat, 22 Jan 2011 12:18:05 +0000 (13:18 +0100)] 
* grub-core/disk/raid.c (insert_array): Ensure uniqueness of p->number
even if some elements have a name.
Reported by: Alexander GQ Gerasiov.

14 years ago* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Consider a
Colin Watson [Sat, 22 Jan 2011 01:26:49 +0000 (01:26 +0000)] 
* util/grub-mkconfig_lib.in (is_path_readable_by_grub): Consider a
path unreadable if `grub-probe -t abstraction' fails, for example if
memberlist fails on an LVM volume group.
Reported by: Darius Jahandarie.

14 years ago* docs/grub.texi (Simple configuration): Document
Colin Watson [Sat, 22 Jan 2011 01:11:56 +0000 (01:11 +0000)] 
* docs/grub.texi (Simple configuration): Document
GRUB_PRELOAD_MODULES.

14 years ago* .bzrignore: Remove nonexistent grub-pbkdf2.
Colin Watson [Mon, 17 Jan 2011 12:48:07 +0000 (12:48 +0000)] 
* .bzrignore: Remove nonexistent grub-pbkdf2.

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

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