Commit Graph

6719 Commits

Author SHA1 Message Date
Vladimir 'phcoder' Serbinenko
d1611f0163 * 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.
2011-03-23 12:08:33 +01:00
Vladimir 'phcoder' Serbinenko
7d4e39d65a * 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.
2011-03-23 12:05:13 +01:00
Vladimir 'phcoder' Serbinenko
40fc46599d * 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.
2011-03-23 11:54:58 +01:00
Vladimir 'phcoder' Serbinenko
2da48d28d9 * util/grub-install.in: Correct the x86-64 name as x86_64. 2011-03-23 11:52:04 +01:00
Colin Watson
2c4f9bf9b8 Mark binary packages as Multi-Arch: foreign (for example, an amd64
kernel installed on an i386 system could use the native architecture's
GRUB).
2011-03-22 11:24:22 +00:00
Colin Watson
f56115f7a0 Update debian/legacy/update-grub to the version from grub 0.97-65. 2011-03-22 11:24:02 +00:00
Colin Watson
0f66d2ebdb debconf-updatepo 2011-03-17 13:47:33 +00:00
Colin Watson
f1c0797a97 Thai (Theppitak Karoonboonyanan). Closes: #607706 2011-03-16 16:41:22 +00:00
Colin Watson
6c51da6ac5 Esperanto (Felipe Castro). Closes: #606524 2011-03-16 16:39:53 +00:00
Colin Watson
a2c0b45cae releasing version 1.99~rc1-4 2011-03-15 11:39:39 +00:00
Colin Watson
024e792575 really remove grub-ntldr-img from grub-common 2011-03-15 11:01:15 +00:00
Colin Watson
c196f44d5b Update branch_embed-sectors.patch to avoid straying into first partition
when embedding-area sectors are in use (closes: #613409, LP: #730225).
2011-03-14 22:07:17 +00:00
Colin Watson
745b77e362 Don't ship grub-ntldr-img in grub-common. 2011-03-14 17:27:29 +00:00
Colin Watson
1a42ef98c4 Fix loading GRUB from lnxboot (LP: #693671). 2011-03-14 16:25:23 +00:00
Colin Watson
4bc73bb9b1 * 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.
2011-03-14 16:23:04 +00:00
Colin Watson
69c3dd39df Update branch_devmapper.patch, adding partitioned MD RAID support
(untested) and support for probing multipath disks.
2011-03-14 10:03:15 +00:00
Colin Watson
9b43bf396a * 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.
2011-03-11 11:51:10 +00:00
Colin Watson
be1a7ce0cf * 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.
2011-03-09 17:38:31 +00:00
Colin Watson
83a3c48d37 * docs/grub.texi (Simple configuration): Tidy up formatting. 2011-03-09 17:35:16 +00:00
Szymon Janc
57d75699d6 2011-03-07 Szymon Janc <szymon@janc.net.pl>
* grub-core/fs/zfs/zfs.c (zap_leaf_lookup):
	Set-but-not-used variable removed.
2011-03-07 22:23:06 +01:00
Colin Watson
6c1c5bdc4f Don't touch /boot/grub/grub2-installed if using the --root-directory
option to grub-install (thanks, Nicolas George; closes: #614927).
2011-02-24 13:20:55 +00:00
Colin Watson
28f9509eb7 merge trunk 2011-02-17 14:51:11 +00:00
Colin Watson
d88e805584 releasing version 1.99~rc1-3 2011-02-16 14:55:45 +00:00
Colin Watson
28c4b981d9 * Update ntldr-img from grub-extras:
- Install g2hdr.bin and g2ldr.mbr (closes: #613245).
2011-02-14 14:45:38 +00:00
Vladimir 'phcoder' Serbinenko
028501a0e0 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.
2011-02-12 10:22:55 +03:00
Vladimir 'phcoder' Serbinenko
d998657dcf * grub-core/partmap/msdos.c (pc_partition_map_embed): Fix off by one
error.
2011-02-12 09:59:04 +03:00
Colin Watson
fee7cdd4e1 * 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.
2011-02-11 13:00:54 +00:00
Colin Watson
7bbc3aaab0 Adjust /etc/default/grub for rename of GRUB_DISABLE_LINUX_RECOVERY to
GRUB_DISABLE_RECOVERY (closes: #612777).
2011-02-10 17:17:07 +00:00
Colin Watson
77574e811a Tolerate camcontrol failing to read capacity of IDE devices, until such
time as we know how to do this properly (see #612128).
2011-02-09 13:29:08 +00:00
Colin Watson
769cd48fa4 We need at least freebsd-utils (>= 8.0-4) on kFreeBSD architectures for
camcontrol, so depend on it.
2011-02-09 13:04:05 +00:00
Colin Watson
b4f8124d6a Refer to the info documentation at the top of /etc/default/grub (closes:
#612538).
2011-02-09 12:56:55 +00:00
Colin Watson
97286eb547 * 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.
2011-02-09 12:14:10 +00:00
Colin Watson
22b28eb3fe * 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.
2011-02-09 11:23:11 +00:00
Colin Watson
16358887cb Suppress output from debconf-communicate in upgrade-from-grub-legacy. 2011-02-09 04:09:30 +00:00
Colin Watson
2f1bb90be1 Build for ppc64 (except for grub-emu, which doesn't build cleanly yet). 2011-02-09 01:08:18 +00:00
Colin Watson
7e735e4349 * include/grub/file.h (not_easly_seekable): Rename to ...
(not_easily_seekable): ... this.  Update all users.
2011-02-08 13:21:13 +00:00
Colin Watson
5d6ff50b3e releasing version 1.99~rc1-2 2011-02-08 12:15:57 +00:00
Colin Watson
e71fe2e601 Upload to unstable. 2011-02-08 11:19:56 +00:00
Colin Watson
5870a4a06f typo 2011-02-04 16:35:07 +00:00
Colin Watson
266a01be26 Add rootflags=subvol=<name> if / is on a btrfs subvolume (LP: #712029). 2011-02-04 14:29:21 +00:00
Colin Watson
458bc629c4 Handle empty dir passed to grub_find_root_device_from_mountinfo; fixes
grub-mkrelpath on btrfs subvolumes (LP: #712029).
2011-02-04 13:38:15 +00:00
Colin Watson
8c2c4ff2f5 Handle empty dir passed to grub_find_root_device_from_mountinfo; fixes grub-mkrelpath on btrfs subvolumes. 2011-02-04 13:33:16 +00:00
Colin Watson
800f188183 * docs/grub.texi (Making a GRUB bootable CD-ROM): Update to describe
grub-mkrescue.
2011-01-28 17:01:28 +00:00
Vladimir 'phcoder' Serbinenko
3281d3d6d4 * 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.
2011-01-24 02:44:27 +01:00
Vladimir 'phcoder' Serbinenko
3533413cd5 * grub-core/kern/emu/getroot.c: Include config-util.h explicitly. 2011-01-22 15:37:05 +01:00
Vladimir 'phcoder' Serbinenko
73ae4f4ff5 Add missing ChangeLog entry 2011-01-22 15:30:48 +01:00
Anthony DeRobertis
5d4c5f8914 * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Check
super_offset field.
2011-01-22 15:20:08 +01:00
Vladimir 'phcoder' Serbinenko
37f4f60828 * 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.
2011-01-22 15:10:29 +01:00
Vladimir 'phcoder' Serbinenko
03a4ccb513 * grub-core/bus/bonito.c (write_bases): Fix direction of the shift. 2011-01-22 14:26:18 +01:00
Vladimir 'phcoder' Serbinenko
ffc8f4d8bc * 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.
2011-01-22 14:15:17 +01:00