Commit Graph

6719 Commits

Author SHA1 Message Date
Colin Watson
e91dba5b13 * po/README: Add instructions for creating po/LINGUAS. 2011-04-21 15:47:58 +01:00
Colin Watson
c85140b3b7 Add "SEE ALSO" sections to most man pages. Fixes Debian bug
#551428.

* docs/man/grub-editenv.h2m (SEE ALSO): New section.
* docs/man/grub-emu.h2m (SEE ALSO): Likewise.
* docs/man/grub-fstest.h2m (SEE ALSO): Likewise.
* docs/man/grub-install.h2m (SEE ALSO): Likewise.
* docs/man/grub-macho2img.h2m (SEE ALSO): Likewise.
* docs/man/grub-menulst2cfg.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkconfig.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkdevicemap.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkfont.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkimage.h2m (SEE ALSO): Likewise.
* docs/man/grub-mklayout.h2m (SEE ALSO): Likewise.
* docs/man/grub-mknetdir.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkpasswd-pbkdf2.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkrelpath.h2m (SEE ALSO): Likewise.
* docs/man/grub-mkrescue.h2m (SEE ALSO): Likewise.
* docs/man/grub-ofpathname.h2m (SEE ALSO): Likewise.
* docs/man/grub-pe2elf.h2m (SEE ALSO): Likewise.
* docs/man/grub-probe.h2m (SEE ALSO): Likewise.
* docs/man/grub-reboot.h2m (SEE ALSO): Likewise.
* docs/man/grub-script-check.h2m (SEE ALSO): Likewise.
* docs/man/grub-set-default.h2m (SEE ALSO): Likewise.
* docs/man/grub-setup.h2m (SEE ALSO): Likewise.
2011-04-21 15:17:48 +01:00
Colin Watson
d061b15676 debconf-updatepo 2011-04-21 14:45:20 +01:00
Colin Watson
76cfa4d0f1 Greek (Emmanuel Galatoulas). Closes: #604847 2011-04-21 14:44:53 +01:00
Colin Watson
99768d4260 Brazilian Portuguese (Flamarion Jorge). Closes: #610613 2011-04-21 14:26:12 +01:00
Colin Watson
d44fefd4f8 Italian (Luca Monducci). Closes: #606891 2011-04-21 14:23:50 +01:00
Colin Watson
527659ae68 Romanian (Andrei POPESCU). Closes: #606888 2011-04-21 14:21:50 +01:00
Colin Watson
616f630ec1 Danish (Joe Hansen). Closes: #606879 2011-04-21 14:17:47 +01:00
Colin Watson
6ab82ef458 Belarusian (Viktar Siarheichyk). Closes: #606864 2011-04-21 14:14:57 +01:00
Colin Watson
4ff9509072 Add debian/README.source (from quilt). 2011-04-21 14:06:31 +01:00
Colin Watson
18e2824e46 Remove non-virtual-device test that was incorrectly reintroduced by a
mismerge.
2011-04-21 13:20:08 +01:00
Colin Watson
1c24732ba4 * Cherry-pick from upstream:
- Fix stack pointer handling in 16-bit relocator.
2011-04-21 13:17:23 +01:00
Colin Watson
dfdd3c3e96 add GRUB_MOD_LICENSE to squash4 2011-04-21 13:10:33 +01:00
Colin Watson
c3f791031d * New upstream release.
- Ensure uniqueness of RAID array numbers even if some elements have a
    name (closes: #609804).
  - Remove unnecessary brackets from tr arguments (closes: #612564).
  - Add grub-mkrescue info documentation (closes: #612585).
  - Avoid generating invalid configuration when something that looks like
    a Xen hypervisor is present without any Xen kernels (closes: #612898).
  - Fix memory alignment when calling 'linux' multiple times on EFI
    (closes: #616638).
  - Fix grub-install on amd64 EFI systems (closes: #617388).
  - Automatically export pager variable (closes: #612995).
  - Fix parser error with "time" (closes: #612991).
  - Ignore case of bitmap extensions (closes: #611123).
  - Skip vmlinux-* on x86 platforms (closes: #536846, #546008).
  - Accept old-style Xen kernels (closes: #610428).
  - Skip damaged LVM volumes (closes: #544731).
  - Handle LVM mirroring (closes: #598441).
  - Detect spares and report them as not RAID members (closes: #611561).
  - Don't enable localisation unless gfxterm is available (closes:
    #604609).
  - Fix partitioned RAID support (closes: #595071, #613444).
  - Dynamically count the number of lines for the lower banner (closes:
    #606494).
  - Improve quoting in grub-mkconfig, to support background image file
    names containing spaces (closes: #612417).
  - Flush BIOS disk devices more accurately (closes: #623124).
* Update branch_embed-sectors.patch:
  - Detect sector used by HighPoint RAID controller (closes: #394868).
2011-04-21 12:55:46 +01:00
Colin Watson
92051871b7 * grub-core/kern/emu/getroot.c
(grub_find_root_device_from_mountinfo): Remove non-virtual-device
test that was incorrectly reintroduced in r3214.
Reported by: Ian Dall.  Fixes Savannah bug #33133.
2011-04-21 10:26:29 +01:00
Colin Watson
04531b8d68 Set PACKAGE_VERSION and PACKAGE_STRING using configure arguments rather
than sedding configure.ac in debian/rules (which sometimes has annoying
interactions with quilt, etc.).
2011-04-21 10:12:37 +01:00
Colin Watson
b13f79a427 Fix stack pointer handling in 16-bit relocator.
* grub-core/lib/i386/relocator16.S (grub_relocator16_start): Move
grub_relocator16_sp to %esp rather than %ss, and zero-extend it.
Fixes Ubuntu bug #683904.
2011-04-21 00:07:22 +01:00
Vladimir 'phcoder' Serbinenko
9b710a888e * configure.ac: Bump version to 1.99~rc2. 2011-04-20 09:23:55 +02:00
Vladimir 'phcoder' Serbinenko
d97e7b5935 * include/grub/dl.h [ASM_FILE]: Adapt for assembly.
* grub-core/lib/i386/setjmp.S: Add missing GRUB_MOD_LICENSE.
	* grub-core/lib/x86_64/setjmp.S: Likewise.
	* grub-core/lib/mips/setjmp.S: Likewise.
	* grub-core/lib/powerpc/setjmp.S: Likewise.
	* grub-core/lib/sparc64/setjmp.S: Likewise.
2011-04-20 01:37:48 +02:00
Vladimir 'phcoder' Serbinenko
0624551c22 * grub-core/lib/efi/datetime.c: Add missing GRUB_MOD_LICENSE.
* grub-core/lib/efi/datetime.c: Likewise.
2011-04-20 01:32:21 +02:00
Vladimir 'phcoder' Serbinenko
e8f28d4c0e * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush):
New function.
	(grub_util_biosdisk_close): Use grub_util_biosdisk_flush.
	* include/grub/emu/hostdisk.h (grub_util_biosdisk_flush): New proto.
	* util/grub-setup.c (setup): Use grub_util_biosdisk_flush.
2011-04-19 22:39:14 +02:00
Vladimir 'phcoder' Serbinenko
bba79a1502 * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
bitmap.
	(grub_gfxterm_term_init): Likewise.
2011-04-19 22:31:50 +02:00
Vladimir 'phcoder' Serbinenko
abc474ef4b Take into account the decorations the computing menu entry width.
* grub-core/gfxmenu/widget-box.c (get_border_width): New function.
	(grub_gfxmenu_create_box): Register get_border_width.
	* grub-core/gfxmenu/gui_list.c (draw_menu): Use get_border_width
	if available.
	* include/grub/gfxwidgets.h (grub_gfxmenu_box): New member
	get_border_width.
2011-04-19 00:44:53 +02:00
Endres Puschner
e74b3947af * grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
Don't skip first class.
2011-04-18 23:24:41 +02:00
Vladimir 'phcoder' Serbinenko
34faa5955a * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge
chunks.
	* include/grub/err.h (grub_err_t): New enum value GRUB_ERR_BUG.
2011-04-18 23:10:19 +02:00
Vladimir 'phcoder' Serbinenko
93a777e388 Complete 64-bit division support.
* grub-core/kern/misc.c (grub_divmod64): Rename to ...
	(grub_divmod64_full): ... this. Support 64-bit divisor and reminder.
	* include/grub/misc.h (grub_divmod64): Rename to ...
	(grub_divmod64_full): ... this.
	(grub_divmod64): New inline function.
2011-04-18 23:03:52 +02:00
Vladimir 'phcoder' Serbinenko
a5102d9433 * util/grub-mkimage.c (generate_image): Add forgotten comma. 2011-04-18 17:47:21 +02:00
Vladimir 'phcoder' Serbinenko
f3fb7b36df * util/grub-mkimage.c (generate_image): Update fwstart.img hash after
performing the necessary test.
2011-04-18 09:31:13 +02:00
Vladimir 'phcoder' Serbinenko
9ac718b061 * Makefile.am (multiboot.elf): Add -Wl,--build-id=none.
(kfreebsd.elf): Likewise.
	(pc-chainloader.elf): Likewise.
	(ntldr.elf): Likewise.
2011-04-16 17:24:47 +02:00
Vladimir 'phcoder' Serbinenko
50d2cc5ae5 Identify RAID by its UUID rather than (guessed) name.
* grub-core/disk/raid.c (ascii2hex): New function.
	(grub_raid_open): Accept mduuid/%s specification.
	* grub-core/kern/emu/getroot.c (get_mdadm_name): Revamped into ...
	(get_mdadm_uuid): ... this.
	(grub_util_get_grub_dev): Use mduuid/%s if UUID is available.
2011-04-16 15:27:35 +02:00
bubulle@debian.org
921612ec53 Fix spelling error in French debconf translation. Thanks to David
Prévôt.
2011-04-16 14:12:02 +02:00
Vladimir 'phcoder' Serbinenko
e03f7bea45 * grub-core/gfxmenu/gui_image.c (rescale_image): Don't attempt to scale
to negative size.
2011-04-16 09:16:44 +02:00
bubulle@debian.org
d5565e45e7 Drop extra word in French debconf translation. Thanks to David
Prévôt.
2011-04-16 07:59:23 +02:00
Colin Watson
d2b7c8e628 releasing version 1.99~rc1-13 2011-04-15 12:38:56 +01:00
Colin Watson
0cf9b515d2 * Update branch_fuse.patch:
- Tell FUSE to run single-threaded, since GRUB code is not thread-safe
    (LP: #756297).
2011-04-14 20:37:38 +01:00
Colin Watson
d08f1892c3 Run grub-install on install or upgrade of grub-yeeloong. 2011-04-14 02:35:33 +01:00
Colin Watson
b854cabe20 * Cherry-pick from upstream:
- Use correct limits for mips initrd.
2011-04-14 02:10:38 +01:00
Colin Watson
2cd569d025 btrfs_rootflags.patch: applied upstream 2011-04-13 12:58:07 +01:00
Colin Watson
e74c31125d * util/grub.d/10_linux.in: Add rootflags=subvol=<name> if / is on a
btrfs subvolume.
* util/grub.d/20_linux_xen.in: Likewise.
2011-04-13 12:57:26 +01:00
Colin Watson
f81a9cd805 mountinfo_move_mounts.patch: applied upstream 2011-04-13 12:38:20 +01:00
Colin Watson
78fa584f67 Rewrite /proc/self/mountinfo handling to cope with bind-mounts and
move-mounts appearing out of order.  Fixes Ubuntu bug #738345.

* grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
Build a list of relevant visible mounts using the mnt_id and
parent_mnt_id fields, and then scan that list at the end.
2011-04-13 12:36:04 +01:00
Colin Watson
9d5f81622c * docs/grub.texi (normal): New section.
(normal_exit): New section.
(Embedded configuration): Add reference to normal.
(GRUB only offers a rescue shell): Likewise.
* docs/grub-dev.texi (Error Handling): Fix typo.
2011-04-12 13:23:19 +01:00
Colin Watson
09a9d66f1d * NEWS: Drop obsolete entry about probe-only btrfs support. 2011-04-12 11:44:35 +01:00
Colin Watson
0c67693394 * util/import_gcry.py: Fix typo. 2011-04-12 11:39:17 +01:00
Vladimir 'phcoder' Serbinenko
ec9f5e0d73 * NEWS: Add btrfs support. 2011-04-11 23:30:15 +02:00
Vladimir 'phcoder' Serbinenko
fe6b2cbaa6 BtrFS support. Written by me (Vladimir) with important bugfixes and
even more important testing by Colin.

	* Makefile.util.def (libgrubmods.a): Add crc.c and gzio.c
	* grub-core/Makefile.core.def (btrfs): Add crc.c.
	* grub-core/fs/btrfs.c: Stub replaced with real implementation.
	* grub-core/io/gzio.c (grub_gzio): New fields mem_input_size,
	mem_input_off and mem_input. All users updated to accept in-RAM input.
	(gzio_seek): New function.
	(test_zlib_header): Likewise.
	(grub_gzio_read): Likewise.
	(grub_zlib_decompress): Likewise.
	* grub-core/kern/emu/getroot.c (grub_find_root_device_from_mountinfo):
	Accept partial and non-virtual mounts.
	(grub_guess_root_device): Do rescanning after device_from_mountinfo to
	avoid receiving /dev/dm-X as device.
	* grub-core/kern/emu/misc.c (grub_make_system_path_relative_to_its_root):
	Handle bind and partial mounts.
	* grub-core/lib/crc.c: New file.
	* include/grub/deflate.h: Likewise.
	* include/grub/emu/misc.h (grub_find_root_device_from_mountinfo): New
	proto.
	* include/grub/lib/crc.h: New file.
2011-04-11 23:26:41 +02:00
Vladimir 'phcoder' Serbinenko
e745cf0ca6 Implement automatic module license checking according to new GNU
guidelines.

	* grub-core/kern/dl.c (grub_dl_check_license): New function.
	(grub_dl_load_core): Use grub_dl_check_license.
	* include/grub/dl.h (GRUB_MOD_SECTION): New macro.
	(GRUB_MOD_LICENSE): Likewise.
	(GRUB_MOD_DUAL_LICENSE): Likewise.
	All modules updated.
2011-04-11 23:01:51 +02:00
Colin Watson
20f18e5aff releasing version 1.99~rc1-12 2011-04-11 16:58:55 +01:00
Colin Watson
5fecea8063 * Merge from Ubuntu:
- Build part_msdos and vfat into EFI boot images (LP: #677758).
2011-04-11 16:21:44 +01:00
Colin Watson
b198790ce6 Allow use of first sector on btrfs (LP: #757446). 2011-04-11 16:13:31 +01:00