Commit Graph

10293 Commits

Author SHA1 Message Date
Colin Watson
f7766ed83a Backport another patch on top of efifwsetup to fix a build failure in grub-core/kern/efi/efi.c. 2012-09-19 08:51:53 +01:00
Colin Watson
6c18452532 Revert incorrect off-by-one fix when embedding in MBR (LP: #1051154). 2012-09-19 02:48:29 +01:00
Colin Watson
86d08fdb18 * grub-core/partmap/msdos.c (pc_partition_map_embed): Revert
incorrect off-by-one fix from 2011-02-12.  A 62-sector core image
should fit before end == 63.
2012-09-19 02:44:54 +01:00
Colin Watson
735abf545c * util/grub-setup.c (write_rootdev): Remove unused core_img
parameter.  Update all callers.
(setup): Define core_sectors only if GRUB_SETUP_BIOS, to appease
'gcc -Wunused-but-set-variable'.  Remove unnecessary nested #ifdef
GRUB_SETUP_BIOS.
2012-09-19 02:41:51 +01:00
Colin Watson
a8fd349517 Adjust /etc/grub.d/30_os-prober to detect Ubuntu's use of "recovery"
rather than "single".
2012-09-18 16:51:57 +01:00
Colin Watson
1f3f90fb09 Add efifwsetup module to reboot into firmware setup menu. 2012-09-18 16:49:30 +01:00
Colin Watson
d9d2221b0b Build-depend on liblzma-dev, enabling 'grub-mkimage -C xz'. 2012-09-18 16:44:52 +01:00
Vladimir 'phcoder' Serbinenko
140acd3c83 * util/grub-mkconfig_lib.in (grub_tab): New variable.
(grub_add_tab): New function.
	* util/grub.d/10_hurd.in: Replace \t with $grub_tab orgrub_add_tab.
	* util/grub.d/10_illumos.in: Likewise.
	* util/grub.d/10_kfreebsd.in: Likewise.
	* util/grub.d/10_linux.in: Likewise.
	* util/grub.d/10_netbsd.in: Likewise.
	* util/grub.d/10_windows.in: Likewise.
	* util/grub.d/10_xnu.in: Likewise.
	* util/grub.d/20_linux_xen.in: Likewise.
	* util/grub.d/30_os-prober.in: Likewise.
2012-09-18 13:04:06 +02:00
Vladimir 'phcoder' Serbinenko
7ddffdadea * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN on mac.
	* grub-core/term/ieee1275/console.c (grub_console_init_lately): Use
	ieee1275-nocursor if GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN is set.
	* grub-core/term/terminfo.c (grub_terminfo_set_current): Add new type
	ieee1275-nocursor.
	* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value
	GRUB_IEEE1275_FLAG_CURSORONOFF_ANSI_BROKEN.
2012-09-18 11:52:19 +02:00
Vladimir 'phcoder' Serbinenko
4e09245441 * grub-core/loader/i386/linux.c (grub_cmd_linux): Fix incorrect
le-conversion.
	Reported by: BURETTE, Bernard.
2012-09-18 11:44:29 +02:00
Colin Watson
0fc204ca88 Switch watch file to point to ftp.gnu.org. 2012-09-18 01:49:53 +01:00
Colin Watson
cc6ee3d202 * Backport from upstream:
- Remove extra layer of escaping from grub_probe.
2012-09-17 17:07:12 +01:00
Colin Watson
a2fc392426 * util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence
from comment.
2012-09-17 16:58:50 +01:00
Colin Watson
2d6ccb7f9b releasing version 2.00-4 2012-09-14 14:54:58 +01:00
Colin Watson
8aaa219fcf Update grub-common Replaces for grub-mknetdir move. 2012-09-14 12:56:12 +01:00
Colin Watson
0e1c35373f Make grub-install fall back to i386-pc if booted using EFI but the
relevant *-efi target is not available (because only grub-pc is
installed).
2012-09-14 12:05:50 +01:00
Colin Watson
1e81871a86 Move grub-mknetdir to grub-common, since it's now common across
platforms.
2012-09-14 11:59:14 +01:00
Colin Watson
27e8215413 Move /usr/share/man/man8/grub-install.8 to grub2-common as well. 2012-09-14 11:58:17 +01:00
Colin Watson
4a300ebf7b Move grub-install to grub2-common, since it's now common across
platforms but clashes with grub-legacy.
2012-09-14 11:56:30 +01:00
Colin Watson
e3a69c7dc5 Only fix up powerpc key repeat on IEEE1275 machines. Fixes powerpc-emu
compilation.
2012-09-14 11:27:05 +01:00
Colin Watson
dfd39dbdea * grub-core/term/terminfo.c: Only fix up powerpc key repeat on
IEEE1275 machines.  Fixes powerpc-emu compilation.
* include/grub/terminfo.h: Likewise.
2012-09-14 11:23:36 +01:00
Colin Watson
262c94c0e7 whitespace 2012-09-14 10:30:44 +01:00
Colin Watson
72f466bca8 Fix platform postinsts to handle new core.img location. 2012-09-14 10:30:12 +01:00
Colin Watson
bc3b27c929 releasing version 2.00-3 2012-09-13 17:57:59 +01:00
Colin Watson
864c8c5f50 Unset DH_OPTIONS while running dh_autoreconf. 2012-09-13 17:05:51 +01:00
Colin Watson
a60fec8f3c Bail out if trying to run grub-mkconfig during upgrade to 2.00 (e.g.
while configuring a kernel image), since the old /etc/grub.d/00_header
conffile breaks until such time as grub-common is configured.
2012-09-13 16:07:22 +01:00
Vladimir 'phcoder' Serbinenko
3bfa763c48 * include/grub/efi/api.h (grub_efi_runtime_services): Make vendor_guid
a const pointer.
	* grub-core/efiemu/runtime/efiemu.c (efiemu_memcpy): Make from a
	const pointer.
	(efiemu_set_variable): Make vendor_guid a const pointer.
2012-09-12 08:31:05 +02:00
Vladimir 'phcoder' Serbinenko
250e475b26 Don't require grub-mkconfig_lib to generate manpages for programs.
* gentpl.py (manpage): Additional argument adddeps. Add adddeps to
	dependencies, don't add grub-mkconfig_lib.
	(program): Pass empty adddeps.
	(script): Pass grub-mkconfig_lib as adddeps.
2012-09-12 08:27:26 +02:00
Vladimir 'phcoder' Serbinenko
592fd0e4d6 * grub-core/disk/diskfilter.c (free_array) [GRUB_UTIL]: Fix memory leak.
* util/getroot.c (grub_find_device): Likewise.
	(get_mdadm_uuid): Likewise.
	(grub_util_is_imsm): Likewise.
	(grub_util_pull_device): Likewise.
	* util/grub-probe.c (probe): Likewise.
2012-09-11 07:53:26 +02:00
Benoit Gschwind
801a3027be * grub-core/loader/efi/appleloader.c (devpath_8): New var.
(devs): Add devpath_8.
2012-09-10 09:34:29 +02:00
Colin Watson
136f47b985 Use dh-autoreconf. 2012-09-10 01:45:53 +01:00
Colin Watson
2fd13fb3b7 releasing version 2.00-2 2012-09-08 11:50:57 +01:00
Colin Watson
82ec5c7f57 Only try to install efiemu*.o into grub-emu on *-i386. 2012-09-08 10:32:25 +01:00
Colin Watson
c214c64b73 Autogenerate packaging files for grub-emu, in order that its postinst
does not contain unexpanded @PACKAGE@ symbols.
2012-09-08 10:30:00 +01:00
Colin Watson
ffaf8e01dc Update default/grub.md5sum to include Ubuntu maverick's default md5sum. 2012-09-08 10:12:38 +01:00
Colin Watson
6c01f6c290 Add -Wno-error=unused-result to HOST_CFLAGS for the moment, since at
least grub-core/lib/crypto.c fails to compile on Ubuntu otherwise.
2012-09-08 10:11:42 +01:00
Peter Jones
c5052c81ab * grub-core/Makefile.core.def (efifwsetup): New module.
* grub-core/commands/efi/efifwsetup.c: New file.
	* grub-core/kern/efi/efi.c (grub_efi_set_variable): New function
	* include/grub/efi/api.h (GRUB_EFI_OS_INDICATIONS_BOOT_TO_FW_UI):
	New define.
	* include/grub/efi/efi.h (grub_efi_set_variable): New proto.
2012-09-08 09:40:24 +02:00
Colin Watson
f908394d0d releasing version 2.00-1 2012-09-06 20:17:46 +01:00
Colin Watson
92892e101b Fix executable bits, this time for real. Change modinfo.sh's permissions in the right place, and gdb_grub and gmodule.pl in fact shouldn't be executable. 2012-09-06 19:58:25 +01:00
Colin Watson
81bbd2700f Reorganise changelog. 2012-09-06 16:19:48 +01:00
Colin Watson
90da22a725 Hmm, not all those uses of $(CURDIR) were useless after all. 2012-09-06 15:35:22 +01:00
Colin Watson
cf158d5943 Drive find correctly. 2012-09-06 15:32:00 +01:00
Colin Watson
087ffdea82 Add lots of bugs to changelog. 2012-09-06 14:25:04 +01:00
Colin Watson
bf65e3915d Bodge 05_debian_theme to make the module availability check work again with modules in /boot/grub/$target. 2012-09-06 12:46:46 +01:00
Colin Watson
d4eadae3f8 Move transitional package to Section: oldlibs. 2012-09-06 12:06:48 +01:00
Colin Watson
22e9b52493 Remove COPYING.CC-BY-SA-3.0 from grub-theme-starfield (already in debian/copyright). 2012-09-06 12:05:52 +01:00
Colin Watson
8507da9973 Make modinfo.sh, gdb_grub, and gmodule.pl executable. 2012-09-06 12:04:19 +01:00
Colin Watson
fa8a2a01d9 Remove some useless use of $(CURDIR) in debian/rules. 2012-09-06 12:00:22 +01:00
Colin Watson
bbeb59fefd Don't pass *.module to dpkg-shlibdeps, avoiding lots of build-time
warnings.
2012-09-06 11:57:29 +01:00
Colin Watson
fe65cbefd2 Silence error messages when translations are unavailable. 2012-09-06 11:54:14 +01:00