Commit graph

  • 947aa4f886 * grub-core/Makefile.am: Properly escape parenthesis in sed expressions. Fixes Estonian locale. Reported by: Leho Kraav. Vladimir 'phcoder' Serbinenko 2011-04-08 12:13:44 +02:00
  • f7148863eb * grub-core/normal/menu.c: Add missing include. Vladimir 'phcoder' Serbinenko 2011-04-08 12:12:02 +02:00
  • 3c0e3f142a * grub-core/disk/raid.c [GRUB_UTIL]: Add missing include. Vladimir 'phcoder' Serbinenko 2011-04-08 12:06:55 +02:00
  • 6d1fa41fb4 * util/grub-mkconfig.in: Ignore emacsen backup. Martin Zuther 2011-04-08 11:53:17 +02:00
  • 478182a838 * grub-core/kern/emu/hostdisk.c (open_device): Sync on close and not on open. (grub_util_biosdisk_close): Likewise. Vladimir 'phcoder' Serbinenko 2011-04-08 11:49:38 +02:00
  • 72a89a54e1 * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing const attribute and use grub_isdigit. Vladimir 'phcoder' Serbinenko 2011-04-08 11:44:44 +02:00
  • 897e62079e rename grub-fuse to grub-mount throughout configuration Colin Watson 2011-04-08 10:43:12 +01:00
  • 9aa6fcc17e fix duplicate --enable-grub-mkfont option; this should be --enable-grub-fuse instead Colin Watson 2011-04-08 10:38:41 +01:00
  • b0bfc5937d fix header comment Colin Watson 2011-04-08 10:31:32 +01:00
  • b5ebecfabc * grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older gcc warning. Andrey 2011-04-06 14:21:34 +02:00
  • 7755f66e64 * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few useful grub_dprintf's. Vladimir 'phcoder' Serbinenko 2011-04-06 14:04:52 +02:00
  • 461121ffb3 * include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields. Vladimir 'phcoder' Serbinenko 2011-04-06 14:01:12 +02:00
  • 2a961775e6 * util/grub.d/00_header.in: Don't use LANG unless unifont is available. Vladimir 'phcoder' Serbinenko 2011-04-06 13:18:11 +02:00
  • adf594cc44 Output errors if theme loading failed. Vladimir 'phcoder' Serbinenko 2011-04-06 13:00:18 +02:00
  • 665900a389 * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): Let a bit more space for older compilers. (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise. Vladimir 'phcoder' Serbinenko 2011-04-06 12:33:46 +02:00
  • a562b47916 * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Detect spares and report them as not RAID members since they are useless for GRUB. * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise. Vladimir 'phcoder' Serbinenko 2011-04-06 12:29:49 +02:00
  • 246c23696a Ignore docs/stamp-1 and docs/version-dev.texi Vladimir 'phcoder' Serbinenko 2011-04-06 12:25:33 +02:00
  • 5bfb6e71e8 features support Vladimir 'phcoder' Serbinenko 2011-04-05 15:05:53 +02:00
  • b38a498394 BPB patching support (untested) Vladimir 'phcoder' Serbinenko 2011-04-05 14:40:15 +02:00
  • 6ac14e6cef Fix EFI compilation Vladimir 'phcoder' Serbinenko 2011-04-05 09:34:58 +02:00
  • af0ce67056 Add HighPoint RAID controller Vladimir 'phcoder' Serbinenko 2011-04-03 23:52:50 +02:00
  • 850e937329 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. Vladimir 'phcoder' Serbinenko 2011-04-03 16:28:14 +02:00
  • 6f33215394 * grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end of function to allow further scanning for LVMs. Vladimir 'phcoder' Serbinenko 2011-04-03 15:57:44 +02:00
  • 829ea451a4 * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close on failed seek as it breaks open fd reusage. Vladimir 'phcoder' Serbinenko 2011-04-03 15:45:20 +02:00
  • 09ceb9a592 * util/grub-install.in: Add a recommendation to use --recheck before reporting bugs. Vladimir 'phcoder' Serbinenko 2011-04-03 15:37:24 +02:00
  • 67e11623a8 * docs/grub.texi (Vendor power-on buttons): Explain how the numbers are obtained. Vladimir 'phcoder' Serbinenko 2011-04-03 15:34:50 +02:00
  • caee5efd31 GRUB developper manual based on existing Internals section and contributions by the various authors with active copyright assignment. Vladimir 'phcoder' Serbinenko 2011-04-03 15:30:28 +02:00
  • 2cccc747ac 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. Colin Watson 2011-04-01 17:04:10 +01:00
  • 186ae367af * grub-core/disk/loopback.c (grub_cmd_loopback): Fix a memory leak when replacing an existing device. Colin Watson 2011-04-01 15:35:09 +01:00
  • cfed2ad097 Fix incorrect types in jfs.c. This enables >2TiB disks and fixes some memory corruptions. Vladimir 'phcoder' Serbinenko 2011-04-01 15:53:06 +02:00
  • 05d2ed3277 * 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. Colin Watson 2011-04-01 11:43:51 +01:00
  • ecb2a8b656 merge my and Abranches' branches Vladimir 'phcoder' Serbinenko 2011-04-01 11:25:48 +02:00
  • 25f1579b43 Adapt protocols to new network struct. Manoel Rebelo Abranches 2011-04-01 05:42:34 -03:00
  • 09375846b9 Add mtu to ieee1275 driver data. Manoel Rebelo Abranches 2011-04-01 05:41:37 -03:00
  • 457d1104f6 Add ofnet.h to Makefile.am Manoel Rebelo Abranches 2011-04-01 05:40:44 -03:00
  • 59b361a2df Use bootp packet to set prefix and card address. Manoel Rebelo Abranches 2011-04-01 05:39:06 -03:00
  • 6d5c2ed68a Use nb in all function declarations for consistency. Manoel Rebelo Abranches 2011-04-01 05:27:06 -03:00
  • 6ccb7a35e6 Remove unused file. Manoel Rebelo Abranches 2011-04-01 05:26:27 -03:00
  • fbdee79b17 Add generic functions to read and seek in network file. Allocate socket with network and adress information. Manoel Rebelo Abranches 2011-04-01 05:22:41 -03:00
  • d5e0a358f1 Correctly match network. Manoel Rebelo Abranches 2011-04-01 05:14:16 -03:00
  • 6dc14451f4 Iterate sockets to see if we expect this packet. Let the App layer to remove its own header. Add packet to socket list if it contains data. Undesired packets are freed. Manoel Rebelo Abranches 2011-04-01 05:12:44 -03:00
  • 50ee5d686d Merge mainline. Manoel Rebelo Abranches 2011-04-01 04:45:37 -03:00
  • 91dc607330 * 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. Vladimir 'phcoder' Serbinenko 2011-03-31 16:48:36 +02:00
  • a8afc1d12c * grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove set-but-not-used variable. Colin Watson 2011-03-31 12:25:10 +01:00
  • a826cc7d7e * docs/grub.texi (Simple configuration): Be more explicit about GRUB_DEFAULT, and add an example. Reported by: Leslie Rhorer. Colin Watson 2011-03-31 08:46:41 +01:00
  • 875b67ba09 * docs/grub.texi (Commands): Link to "GRUB only offers a rescue shell". Colin Watson 2011-03-30 20:52:26 +01:00
  • fd7cd914c6 * util/grub.d/10_linux.in: Add gentoo-specific config filename. * util/grub.d/20_linux_xen.in: Likewise. Alexey Shvetsov 2011-03-30 20:53:23 +02:00
  • 090b1b6ac6 * util/grub.d/10_linux.in: Try alternative config filenames where we parse config file. * util/grub.d/20_linux_xen.in: Likewise. Vladimir 'phcoder' Serbinenko 2011-03-30 20:42:42 +02:00
  • baad885c14 * util/grub.d/10_linux.in: Add gentoo-specific Linux and initrd names. * util/grub.d/20_linux_xen.in: Likewise. Alexey Shvetsov 2011-03-30 19:22:28 +02:00
  • 241e41f55c * grub-core/disk/raid.c (insert_array): Add few potentially useful grub_util_info. (grub_raid_register): Likewise. Vladimir 'phcoder' Serbinenko 2011-03-30 16:54:11 +02:00
  • 56445fb2b4 * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]: Preserve partition number in mdadm code path. Vladimir 'phcoder' Serbinenko 2011-03-30 16:37:10 +02:00
  • c871b1c6d0 * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Add few potentially useful grub_util_info. Vladimir 'phcoder' Serbinenko 2011-03-30 13:13:25 +02:00
  • 5e631b4fcb fix ChangeLog ordering Colin Watson 2011-03-30 12:07:43 +01:00
  • 87d1aa1927 * grub-core/disk/lvm.c (grub_lvm_scan_device): Remove spurious \n. Vladimir 'phcoder' Serbinenko 2011-03-30 13:02:39 +02:00
  • 2d5d0333d6 * docs/grub.texi (default): Use @example rather than nested itemized lists to avoid breaking gendocs. Colin Watson 2011-03-30 11:46:36 +01:00
  • 3d7ed04e92 * docs/grub.texi (Future): Update. Colin Watson 2011-03-30 11:34:52 +01:00
  • abf042006e * 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. 2011-03-30 11:31:33 +01:00
  • 421284f299 * docs/grub.texi (Simple configuration): Update GRUB_GFXMODE documentation. Colin Watson 2011-03-30 10:19:08 +01:00
  • e1ad0edd11 * docs/grub.texi: Correctly use "terminal_input" and not "terminal" in the example. Vladimir 'phcoder' Serbinenko 2011-03-30 09:35:35 +02:00
  • 5d8031749e * grub-core/term/at_keyboard.c (set_scancodes) [!GRUB_MACHINE_MIPS_YEELOONG && !GRUB_MACHINE_QEMU]: Use scancode set 1. Vladimir 'phcoder' Serbinenko 2011-03-30 09:26:23 +02:00
  • 2a2da1d030 * 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. Colin Watson 2011-03-30 03:49:22 +01:00
  • a752763906 * docs/grub.texi (Changes from GRUB Legacy): Minor proofreading. Colin Watson 2011-03-30 03:26:11 +01:00
  • 8a748df2fd credit Colin Watson 2011-03-30 03:22:37 +01:00
  • e30af0297d * docs/grub.texi (Simple configuration): Explain some of the current limitations of grub-mkconfig. Colin Watson 2011-03-30 03:20:09 +01:00
  • fc8584825c Old macs search for boot.efi rather than for bootia32.efi. Vladimir 'phcoder' Serbinenko 2011-03-30 00:05:25 +02:00
  • e1eb511d9a * util/grub.d/20_linux_xen.in: Accept old-style xen kernels. Vladimir 'phcoder' Serbinenko 2011-03-29 21:12:13 +02:00
  • 70e75364fa * 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. Vladimir 'phcoder' Serbinenko 2011-03-29 20:33:32 +02:00
  • fc18f6a3cb * util/grub.d/10_linux.in: Skip vmlinux-* on x86 platforms. Vladimir 'phcoder' Serbinenko 2011-03-29 19:47:34 +02:00
  • 5c650f4c8e * docs/grub.texi (loopback): New section. Colin Watson 2011-03-29 18:08:23 +01:00
  • 61d7156b94 * grub-core/disk/loopback.c (GRUB_MOD_INIT): Stop documenting removed -p option. Colin Watson 2011-03-29 18:00:23 +01:00
  • cf4d3fa640 Send blend_text_bg when any backgorund is set as opposed to only when streteched background is set Vladimir 'phcoder' Serbinenko 2011-03-29 18:34:05 +02:00
  • 994b826432 * 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. Colin Watson 2011-03-29 14:32:38 +01:00
  • 9e4d19e0d3 * grub-core/kern/emu/hostdisk.c (find_partition_start) [HAVE_DIOCGDINFO]: Add safety checks. Vladimir 'phcoder' Serbinenko 2011-03-29 15:00:23 +02:00
  • a307c0b206 * 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. Vladimir 'phcoder' Serbinenko 2011-03-29 12:01:48 +02:00
  • b4db4f39f0 * 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. Colin Watson 2011-03-29 10:51:58 +01:00
  • 35e5f84c18 * grub-core/normal/misc.c (grub_normal_print_device_info): Use correct printf clauses for printing size and start. Vladimir 'phcoder' Serbinenko 2011-03-29 11:25:04 +02:00
  • d2e29d81a9 * grub-core/fs/ext2.c (grub_ext2_read_inode): Fix an overflow. Reported and tested by: Timothy Nikkel. Vladimir 'phcoder' Serbinenko 2011-03-29 10:56:14 +02:00
  • ed5587afea * 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. Vladimir 'phcoder' Serbinenko 2011-03-29 08:33:28 +02:00
  • a1dc717c58 * 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. Vladimir 'phcoder' Serbinenko 2011-03-29 08:20:19 +02:00
  • 9f3677d3c1 * util/grub-setup.c: Copy the partition table zone if floppy support is disabled, even if no partition table is found. Vladimir 'phcoder' Serbinenko 2011-03-29 02:20:52 +02:00
  • 09573499ff Initial variable sector size support Vladimir 'phcoder' Serbinenko 2011-03-29 02:02:55 +02:00
  • 2414872538 * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Remove stale comment. Colin Watson 2011-03-28 15:17:22 +01:00
  • f329eda79e * grub-core/disk/raid.c (grub_raid_register): Adjust debug message to be specific about what kind of RAID device we're scanning for. Colin Watson 2011-03-28 13:23:54 +01:00
  • c482ad98b3 * grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): Don't return freed string. Seth Goldberg 2011-03-26 23:22:59 +01:00
  • 5ee04984d1 * grub-core/fs/iso9660.c (grub_iso9660_label): Rtrim the label. Vladimir 'phcoder' Serbinenko 2011-03-26 14:14:59 +01:00
  • f4727da93f Use libgeom on FreeBSD to detect partitions. Vladimir 'phcoder' Serbinenko 2011-03-26 12:59:02 +01:00
  • 82fe6c751b Fix FreeBSD compilation problem. Vladimir 'phcoder' Serbinenko 2011-03-26 12:49:34 +01:00
  • 58ed62d221 Avoid consuming lots of space and time if the first partition is not near the start of the disk (Debian bug #619458, Ubuntu bug #691569). Colin Watson 2011-03-25 17:22:12 +00:00
  • 4c6c9431d2 * 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. Colin Watson 2011-03-25 00:03:54 +00:00
  • c7064d9425 * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_addr) [DEBUG_RELOCATOR]: Reuse grub_mm_check. (grub_relocator_alloc_chunk_align) [DEBUG_RELOCATOR]: Likewise. Vladimir 'phcoder' Serbinenko 2011-03-24 12:45:51 +01:00
  • 3f71cded81 * include/grub/mm.h (GRUB_MM_CHECK): Rename to ... (grub_mm_check): ... this. MAke a function-like macro and use GRUB_FILE. Vladimir 'phcoder' Serbinenko 2011-03-24 12:43:28 +01:00
  • ef6de21af4 * 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. Vladimir 'phcoder' Serbinenko 2011-03-24 12:39:48 +01:00
  • 8bc66a2ce6 * grub-core/loader/i386/bsdXX.c (grub_freebsd_load_elfmodule): Account for modules headers when counting the needed allocation size. Vladimir 'phcoder' Serbinenko 2011-03-24 12:28:22 +01:00
  • 5657722c3c * grub-core/term/gfxterm.c (calculate_normal_character_width): Return 8 if no ASCII character is found to prevent crash. Vladimir 'phcoder' Serbinenko 2011-03-23 20:29:17 +01:00
  • 41a85f5508 * grub-core/video/bitmap.c (match_extension): Ignore case. Alexander Kurtz 2011-03-23 17:08:56 +01:00
  • ebad0b81be remove unused variable Colin Watson 2011-03-23 14:45:04 +00:00
  • 59e1e5f17b * grub-core/normal/menu_entry.c (init_line): Fix off-by-one error. Vladimir 'phcoder' Serbinenko 2011-03-23 14:18:56 +01:00
  • bd4d051a95 * grub-core/script/parser.y: Declare "time" as valid argument. Vladimir 'phcoder' Serbinenko 2011-03-23 13:23:50 +01:00
  • bae7fcc1ed Fix incorrect assert failure reporting. Peter Jones 2011-03-23 13:01:42 +01:00
  • 537dc9bec6 * grub-core/normal/main.c (GRUB_MOD_INIT): Export pager variable. Vladimir 'phcoder' Serbinenko 2011-03-23 12:40:15 +01:00