Commit Graph

6737 Commits

Author SHA1 Message Date
Colin Watson
8f94255340 * docs/grub.texi (GRUB only offers a rescue shell): Suggest the use
of `ls' to find out which devices are available.
2011-05-01 20:04:02 +01:00
Vladimir 'phcoder' Serbinenko
3c62402d08 * grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather
than source address for efi mmap buffer.
2011-04-25 16:58:25 +02:00
Vladimir 'phcoder' Serbinenko
723f63f2f8 * grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a
wrong action on non-detecting the magic.
2011-04-25 15:36:08 +02:00
Vladimir 'phcoder' Serbinenko
68797f9230 * grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's
already supplied by another part of the module (fixes compilation on
	FreeBSD).
2011-04-25 15:29:41 +02:00
Vladimir 'phcoder' Serbinenko
6be8715dfc * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
match the one used by mdadm.
2011-04-25 15:23:37 +02:00
Colin Watson
089c139083 Drop versioned dependencies on base-files. GPL-3 has been there for two
Debian releases now, and the dependency was never upgrade-critical
anyway.
2011-04-24 21:28:15 +01:00
Colin Watson
d487f29eda Invert how files are split among binary packages: rather than code in
debian/rules to remove files we don't want, add dh_install configuration
to declare the files we do want.  This means a little more repetition
for platform-specific programs, but it seems less confusing and easier
to extend.
2011-04-24 21:18:06 +01:00
Colin Watson
37dd98bd45 Update Lintian overrides for changes in Lintian 2.5.0~rc1. 2011-04-24 10:04:58 +01:00
Colin Watson
d1f41995bf build-depend on libfuse-dev (>= 2.8.4-1.4) for udeb support 2011-04-23 16:57:37 +01:00
Colin Watson
9b5e3c9c7b Build with GCC 4.5 on all architectures. 2011-04-23 15:28:17 +01:00
Colin Watson
9ab89a40fb Don't do a separate build pass for grub-common. It will be identical to
the build for the default platform for the CPU architecture anyway, so
reuse that.
2011-04-23 01:01:18 +01:00
Colin Watson
6da7003c8f ... and create build/stamps too 2011-04-22 23:51:16 +01:00
Colin Watson
ffbf5114d2 remember to touch build/stamps/autogen 2011-04-22 23:40:43 +01:00
Colin Watson
2297409f29 Add grub-mount-udeb, containing just grub-mount. This can be used by
os-prober and other parts of d-i.
2011-04-22 02:15:51 +01:00
Colin Watson
b7636fe388 Add a grub-rescue-efi-amd64 package containing a rescue CD-ROM image
for EFI-AMD64.  For the moment, the purpose of this is mainly to
deliver files to debian-installer.
2011-04-22 02:14:08 +01:00
Colin Watson
f1283e4f5b On Wubi, don't ask for an install device, but just update wubildr
using the diverted grub-install.
2011-04-22 02:06:32 +01:00
Colin Watson
85374e7341 * Merge from Ubuntu:
- Handle filesystems loop-mounted on file images.
2011-04-22 02:02:15 +01:00
Colin Watson
a7a060ef5d Make debian/rules more explicit about when autogen.sh is run. We need
to be careful that all full builds run it, since we use GRUB extras.
2011-04-22 01:02:51 +01:00
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