]>
git.proxmox.com Git - grub2.git/log
Colin Watson [Mon, 13 Jan 2014 12:13:20 +0000 (12:13 +0000)]
If running under UEFI secure boot, attempt to use linuxefi loader
Author: Steve Langasek <steve.langasek@canonical.com>
Forwarded: no
Last-Update: 2013-12-20
Patch-Name: linuxefi_non_sb_fallback.patch
Colin Watson [Mon, 13 Jan 2014 12:13:19 +0000 (12:13 +0000)]
Make linuxefi refuse to boot without shim
This is only intended as a temporary measure.
Forwarded: not-needed
Last-Update: 2013-01-29
Patch-Name: linuxefi_require_shim.patch
Colin Watson [Mon, 13 Jan 2014 12:13:18 +0000 (12:13 +0000)]
Add more debugging to linuxefi
Forwarded: no
Last-Update: 2013-01-29
Patch-Name: linuxefi_debug.patch
Colin Watson [Mon, 13 Jan 2014 12:13:16 +0000 (12:13 +0000)]
Only build linuxefi on amd64
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: linuxefi_amd64_only.patch
Matthew Garrett [Mon, 13 Jan 2014 12:13:15 +0000 (12:13 +0000)]
Add "linuxefi" loader which avoids ExitBootServices
Origin: vendor, http://pkgs.fedoraproject.org/cgit/grub2.git/tree/grub2-linuxefi.patch
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: linuxefi.patch
Mario Limonciello [Mon, 13 Jan 2014 12:13:14 +0000 (12:13 +0000)]
Remove GNU/Linux from default distributor string for Ubuntu
Ubuntu is called "Ubuntu", not "Ubuntu GNU/Linux".
Author: Colin Watson <cjwatson@debian.org>
Author: Harald Sitter <apachelogger@kubuntu.org>
Forwarded: not-needed
Last-Update: 2013-12-25
Patch-Name: mkconfig_ubuntu_distributor.patch
Steve Langasek [Mon, 13 Jan 2014 12:13:12 +0000 (12:13 +0000)]
Output a menu entry for firmware setup on UEFI FastBoot systems
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: uefi_firmware_setup.patch
Colin Watson [Mon, 13 Jan 2014 12:13:11 +0000 (12:13 +0000)]
Blacklist 1440x900x32 from VBE preferred mode handling
Bug-Ubuntu: https://bugs.launchpad.net/bugs/701111
Forwarded: no
Last-Update: 2013-11-14
Patch-Name: blacklist_1440x900x32.patch
Colin Watson [Mon, 13 Jan 2014 12:13:10 +0000 (12:13 +0000)]
Read /etc/default/grub.d/*.cfg after /etc/default/grub
Bug-Ubuntu: https://bugs.launchpad.net/bugs/901600
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: default_grub_d.patch
Matthew Garrett [Mon, 13 Jan 2014 12:13:09 +0000 (12:13 +0000)]
Don't permit loading modules on UEFI secure boot
Author: Colin Watson <cjwatson@ubuntu.com>
Origin: vendor, http://pkgs.fedoraproject.org/cgit/grub2.git/tree/grub-2.00-no-insmod-on-sb.patch
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: no_insmod_on_sb.patch
Colin Watson [Mon, 13 Jan 2014 12:13:08 +0000 (12:13 +0000)]
Avoid getting confused by inaccessible loop device backing paths
Bug-Ubuntu: https://bugs.launchpad.net/bugs/938724
Forwarded: no
Last-Update: 2013-12-20
Patch-Name: mkconfig_nonexistent_loopback.patch
Colin Watson [Mon, 13 Jan 2014 12:13:07 +0000 (12:13 +0000)]
Prefer translations from Ubuntu language packs if available
Bug-Ubuntu: https://bugs.launchpad.net/bugs/537998
Forwarded: not-needed
Last-Update: 2013-12-25
Patch-Name: install_locale_langpack.patch
Colin Watson [Mon, 13 Jan 2014 12:13:06 +0000 (12:13 +0000)]
"single" -> "recovery" when friendly-recovery is installed
If configured with --enable-ubuntu-recovery, also set nomodeset for
recovery mode, and disable 'set gfxpayload=keep' even if the system
normally supports it. See
https://launchpad.net/ubuntu/+spec/desktop-o-xorg-tools-and-processes.
Author: Stéphane Graber <stgraber@ubuntu.com>
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: mkconfig_ubuntu_recovery.patch
Colin Watson [Mon, 13 Jan 2014 12:13:05 +0000 (12:13 +0000)]
Fall back to i386-pc if booted using EFI but -efi is missing
It may be possible, particularly in recovery situations, to be booted
using EFI on x86 when only the i386-pc target is installed. There's
nothing actually stopping us installing i386-pc from an EFI environment,
and it's better than returning a confusing error.
Forwarded: no
Last-Update: 2013-12-20
Patch-Name: install_efi_fallback.patch
Colin Watson [Mon, 13 Jan 2014 12:13:03 +0000 (12:13 +0000)]
Bail out if trying to run grub-mkconfig during upgrade to 2.00
Since files in /etc/grub.d/ are conffiles, they are not put in place
until grub-common is configured, meaning that they may be out of sync
with the parts of grub-mkconfig that reside in /usr/. In GRUB 1.99,
/etc/grub.d/00_header contained a reference to ${GRUB_PREFIX}/video.lst.
This and other code from 1.99 breaks with 2.00's grub-mkconfig.
Deferring this to when grub-PLATFORM.postinst eventually runs is safe
and avoids this problem.
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: mkconfig_mid_upgrade.patch
Colin Watson [Mon, 13 Jan 2014 12:13:02 +0000 (12:13 +0000)]
Silence error messages when translations are unavailable
Bug: https://savannah.gnu.org/bugs/?35880
Forwarded: https://savannah.gnu.org/bugs/?35880
Last-Update: 2013-11-14
Patch-Name: gettext_quiet.patch
Colin Watson [Mon, 13 Jan 2014 12:13:01 +0000 (12:13 +0000)]
Restore grub-mkdevicemap
This is kind of a mess, requiring lots of OS-specific code to iterate
over all possible devices. However, we use it in a number of scripts to
discover devices and reimplementing those in terms of something else
would be very complicated.
Patch-Name: restore_mkdevicemap.patch
Colin Watson [Mon, 13 Jan 2014 12:13:00 +0000 (12:13 +0000)]
Handle filesystems loop-mounted on file images
Improve prepare_grub_to_access_device to emit appropriate commands for
such filesystems, and ignore them in Linux grub.d scripts.
This is needed for Ubuntu's Wubi installation method.
This patch isn't inherently Debian/Ubuntu-specific. losetup and
/proc/mounts are Linux-specific, though, so we might need to refine this
before sending it upstream. The changes to the Linux grub.d scripts
might be better handled by integrating 10_lupin properly instead.
Patch-Name: mkconfig_loopback.patch
Mario Limonciello [Mon, 13 Jan 2014 12:12:59 +0000 (12:12 +0000)]
Build part_msdos and vfat into EFI boot images
Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/677758
Forwarded: http://lists.gnu.org/archive/html/grub-devel/2011-01/msg00028.html
Last-Update: 2013-12-25
Patch-Name: mkrescue_efi_modules.patch
Colin Watson [Mon, 13 Jan 2014 12:12:58 +0000 (12:12 +0000)]
If GRUB Legacy is still around, tell packaging to ignore it
Bug-Debian: http://bugs.debian.org/586143
Forwarded: not-needed
Last-Update: 2013-12-25
Patch-Name: install_stage2_confusion.patch
Colin Watson [Mon, 13 Jan 2014 12:12:57 +0000 (12:12 +0000)]
Disable gfxpayload=keep by default
Setting gfxpayload=keep has been known to cause efifb to be
inappropriately enabled. In any case, with the current Linux kernel the
result of this option is that early kernelspace will be unable to print
anything to the console, so (for example) if boot fails and you end up
dumped to an initramfs prompt, you won't be able to see anything on the
screen. As such it shouldn't be enabled by default in Debian, no matter
what kernel options are enabled.
gfxpayload=keep is a good idea but rather ahead of its time ...
Bug-Debian: http://bugs.debian.org/567245
Forwarded: no
Last-Update: 2013-12-25
Patch-Name: gfxpayload_keep_default.patch
Colin Watson [Mon, 13 Jan 2014 12:12:55 +0000 (12:12 +0000)]
Make grub.cfg world-readable if it contains no passwords
Patch-Name: grub.cfg_400.patch
Colin Watson [Mon, 13 Jan 2014 12:12:54 +0000 (12:12 +0000)]
Disable use of floppy devices
An ugly kludge. Should this be merged upstream?
Author: Robert Millan
Patch-Name: disable_floppies.patch
Robert Millan [Mon, 13 Jan 2014 12:12:53 +0000 (12:12 +0000)]
Support running grub-probe in grub-legacy's update-grub
Author: Colin Watson <cjwatson@debian.org>
Forwarded: not-needed
Last-Update: 2013-12-25
Patch-Name: grub_legacy_0_based_partitions.patch
Robert Millan [Mon, 13 Jan 2014 12:12:52 +0000 (12:12 +0000)]
Improve handling of Debian kernel version numbers
Forwarded: not-needed
Last-Update: 2013-12-20
Patch-Name: dpkg_version_comparison.patch
Colin Watson [Mon, 13 Jan 2014 12:12:51 +0000 (12:12 +0000)]
Write marker if core.img was written to filesystem
The Debian bug reporting script includes a warning in this case.
Patch-Name: core_in_fs.patch
Colin Watson [Mon, 13 Jan 2014 12:12:50 +0000 (12:12 +0000)]
Hack prefix for OLPC
This sucks, but it's better than what OFW was giving us.
Patch-Name: olpc_prefix_hack.patch
Vladimir Serbinenko [Tue, 24 Dec 2013 20:53:23 +0000 (21:53 +0100)]
* configure.ac: Set version to 2.02~beta2.
Vladimir Serbinenko [Tue, 24 Dec 2013 19:32:14 +0000 (20:32 +0100)]
* grub-core/disk/efi/efidisk.c (name_devices): Skip Apple ghosts.
Andrey Borzenkov [Tue, 24 Dec 2013 19:30:16 +0000 (20:30 +0100)]
* util/grub-probe.c: Improve help message and simplify list handling.
Vladimir Serbinenko [Tue, 24 Dec 2013 18:04:46 +0000 (19:04 +0100)]
Fix buffer overflow in grub_efi_print_device_path.
Vladimir Serbinenko [Tue, 24 Dec 2013 17:10:28 +0000 (18:10 +0100)]
Show SATA device path.
Vladimir Serbinenko [Tue, 24 Dec 2013 16:47:27 +0000 (17:47 +0100)]
Revert grub-file usage in grub-mkconfig.
Vladimir Serbinenko [Tue, 24 Dec 2013 16:36:10 +0000 (17:36 +0100)]
Make newly-created files other than grub.cfg world-readable.
Andrey Borzenkov [Tue, 24 Dec 2013 16:26:05 +0000 (17:26 +0100)]
* util/grub.d/00_header.in: Improve compatibility with old config.
Vladimir Serbinenko [Tue, 24 Dec 2013 15:57:28 +0000 (16:57 +0100)]
Make rijndael.c respect aliasing rules.
Trivial backport of
dfb4673da8ee52d95e0a62c9f49ca8599943f22e .
Vladimir Serbinenko [Tue, 24 Dec 2013 15:56:14 +0000 (16:56 +0100)]
Make grub_util_device_is_mapped_stat available in grub-emu core.
Vladimir Serbinenko [Tue, 24 Dec 2013 14:00:46 +0000 (15:00 +0100)]
Add -Qn to TARGET_CFLAGS if it's supported.
Fixes compilation on cygwin.
Reported by: Andrey Borzenkov.
Suggested by: Andrey Borzenkov.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:47:44 +0000 (14:47 +0100)]
Save TARGET_CC version in modinfo.sh.
Suggested by: Andrey Borzenkov.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:16:57 +0000 (14:16 +0100)]
Make grub_util_devmapper_part_to_disk and grub_util_find_partition_start
follow the same algorithm to avoid method mismatch. Don't assume
DMRAID- UUID to mean full disk but instead check that mapping is linear.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:14:19 +0000 (14:14 +0100)]
Declare GRUB_EFI_VENDOR_APPLE_GUID.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:05:48 +0000 (14:05 +0100)]
Dump type and vendor specific data when printing device path.
Vladimir Serbinenko [Mon, 23 Dec 2013 17:17:29 +0000 (18:17 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Mon, 23 Dec 2013 16:52:52 +0000 (17:52 +0100)]
ARM64 support for grub-mkrescue.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:51:39 +0000 (17:51 +0100)]
Install modinfo.sh to keep build information around.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:37:19 +0000 (17:37 +0100)]
* grub-core/modinfo.sh.in: Add build config information.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:35:18 +0000 (17:35 +0100)]
ARM64 grub-file and grub-mkconfig support.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:24:52 +0000 (17:24 +0100)]
Remove leftover options defines.
Colin Watson [Mon, 23 Dec 2013 14:43:41 +0000 (14:43 +0000)]
Update some documentation to refer to Git rather than Bazaar.
* docs/grub.texi (Obtaining and Building GRUB): Refer to Git rather
than Bazaar.
* po/README: Likewise. Fix spelling mistake.
Colin Watson [Mon, 23 Dec 2013 14:30:35 +0000 (14:30 +0000)]
Don't distribute config.h.
* Makefile.am (platform_HEADERS): Move to ...
(nodist_platform_HEADERS): ... here. Fixes gettext_strings_test
failure when building from a distributed tarball.
Colin Watson [Mon, 23 Dec 2013 13:32:35 +0000 (13:32 +0000)]
* configure.ac: Fix spelling.
* grub-core/commands/parttool.c: Fix grammar.
* grub-core/disk/ldm.c: Use consistent capitalisation for "LDM
Embedding Partition".
Vladimir Serbinenko [Mon, 23 Dec 2013 04:56:31 +0000 (05:56 +0100)]
* include/grub/arm64/linux.h: Remove leftovers. Add missing prefixes.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:34:13 +0000 (05:34 +0100)]
* grub-core/loader/arm64/linux.c: Add missing bracket.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:33:44 +0000 (05:33 +0100)]
Add arm64-efi recognition to grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:27:04 +0000 (05:27 +0100)]
Fix ia64-efi recognition in grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:19:42 +0000 (05:19 +0100)]
Recognize raspberry pi kernel in grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:01:58 +0000 (05:01 +0100)]
Enable cache on ARM U-Boot port.
Without it the port is reidiculously slow.
Vladimir Serbinenko [Mon, 23 Dec 2013 03:27:53 +0000 (04:27 +0100)]
Fix ARM cache maintainance.
More code was converted from ASM to C for easier handling.
Vladimir Serbinenko [Sun, 22 Dec 2013 21:33:35 +0000 (22:33 +0100)]
* grub-core/kern/arm/cache.c (grub_arm_disable_caches_mmu): Use v6
algorithm on v5.
Suggested by: Leif Lindholm.
Andrey Borzenkov [Sun, 22 Dec 2013 19:47:26 +0000 (23:47 +0400)]
grub-mkconfig: fix Xen platform conditions
Andrey Borzenkov [Sun, 22 Dec 2013 18:51:54 +0000 (22:51 +0400)]
split grub-mkresecue help text to facilitate translations
Split single string in help message into several strings used before in shell
grub-mkrescue to minimize changes to existing translations.
Reported by Benno Schulenberg
Leif Lindholm [Wed, 4 Dec 2013 15:21:16 +0000 (15:21 +0000)]
arm64: add EFI Linux loader
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Leif Lindholm [Wed, 4 Dec 2013 13:09:21 +0000 (13:09 +0000)]
fdt: additions required for arm64 Linux loader
- Add grub_fdt_create_empty_tree() function.
- Add 64-bit setprop.
Vladimir Serbinenko [Sun, 22 Dec 2013 17:14:42 +0000 (18:14 +0100)]
Add module loading and parsing boot time checkpoints.
Vladimir Serbinenko [Sun, 22 Dec 2013 17:14:00 +0000 (18:14 +0100)]
* grub-core/loader/arm/linux.c: Pass arguments through on ATAG
platforms.
Lars Wendler [Sun, 22 Dec 2013 15:38:28 +0000 (16:38 +0100)]
* util/grub-mkconfig.in: Skip non-executable files.
Vladimir Serbinenko [Sun, 22 Dec 2013 01:48:42 +0000 (02:48 +0100)]
Workaround buggy timer in raspberry pie by using our own timer
implementation.
Vladimir Serbinenko [Sat, 21 Dec 2013 23:32:55 +0000 (00:32 +0100)]
* include/grub/arm/uboot/kernel.h (GRUB_KERNEL_MACHINE_HEAP_SIZE):
Increase to 16 MiB to allow loading the whole memdisk.
Vladimir Serbinenko [Sat, 21 Dec 2013 23:30:19 +0000 (00:30 +0100)]
Fix ARM Linux Loader on non-FDT platforms.
Vladimir Serbinenko [Sat, 21 Dec 2013 19:19:34 +0000 (20:19 +0100)]
* configure.ac: Choose link format based on host_os on emu.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:10:05 +0000 (18:10 +0100)]
* grub-core/osdep/unix/getroot.c: Non-unix build fix.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:09:19 +0000 (18:09 +0100)]
* grub-core/kern/emu/main.c: Build fix for emu.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:08:25 +0000 (18:08 +0100)]
Build fixes for argp.h with older gcc.
Vladimir Serbinenko [Sat, 21 Dec 2013 15:12:24 +0000 (16:12 +0100)]
* util/grub-glue-efi.c: Use "universal binary" rather "fat binary"
in strings.
Suggested by: David Prévot.
Vladimir Serbinenko [Sat, 21 Dec 2013 14:35:15 +0000 (15:35 +0100)]
* include/grub/crypto.h (grub_crypto_xor): Fix cast-align warning.
Vladimir Serbinenko [Sat, 21 Dec 2013 14:28:28 +0000 (15:28 +0100)]
Enable -Wformat=2 if it's supported.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:47:55 +0000 (14:47 +0100)]
* configure.ac: Add -Wmissing-include-dirs -Wmissing-prototypes
-Wmissing-declarations if supported.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:40:53 +0000 (14:40 +0100)]
* grub-core/commands/macbless.c (grub_mac_bless_inode): Pass inode as u32
as both HFS and HFS+ have 32-bit inodes.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:35:46 +0000 (14:35 +0100)]
* include/grub/misc.h (grub_strtol): Fix overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:33:36 +0000 (14:33 +0100)]
* include/grub/term.h (grub_unicode_estimate_width): Use grub_size_t
as return type in both conditionals.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:31:47 +0000 (14:31 +0100)]
* include/grub/video.h (grub_video_rgba_color_rgb): Fix prototype
to use uint8_t for color.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:28:14 +0000 (14:28 +0100)]
* util/misc.c (grub_util_get_image_size): Check for overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:16:49 +0000 (14:16 +0100)]
* grub-core/disk/raid6_recover.c (grub_raid_block_mulx): Use grub_size_t
for size.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:15:04 +0000 (14:15 +0100)]
* grub-core/disk/lvm.c: Use grub_size_t for sizes and grub_ssize_t
for pointer difference.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:07:42 +0000 (14:07 +0100)]
* util/import_gcry.py: Skip sample keys.
Vladimir Serbinenko [Sat, 21 Dec 2013 13:04:50 +0000 (14:04 +0100)]
* util/misc.c (grub_qsort_strcmp): Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:53:42 +0000 (13:53 +0100)]
* configure.ac: Remove duplicate warning arguments.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:50:13 +0000 (13:50 +0100)]
Add missing static qualifiers.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:47:27 +0000 (13:47 +0100)]
Add missing includes.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:40:18 +0000 (13:40 +0100)]
Inline printf templates when possible to enable format checking.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:36:42 +0000 (13:36 +0100)]
* include/grub/crypto.h: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:35:28 +0000 (13:35 +0100)]
* grub-core/net/bootp.c (grub_cmd_dhcpopt): Use snprintf where it
was intended.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:34:03 +0000 (13:34 +0100)]
* grub-core/lib/crypto.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:32:39 +0000 (13:32 +0100)]
* grub-core/lib/disk.c: Fix potential overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:28:52 +0000 (13:28 +0100)]
* grub-core/lib/arg.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:26:27 +0000 (13:26 +0100)]
* grub-core/kern/dl.c: Don't discard const attribute.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:23:37 +0000 (13:23 +0100)]
* grub-core/kern/disk.c: Fix potential overflow.
Vladimir Serbinenko [Sat, 21 Dec 2013 12:21:42 +0000 (13:21 +0100)]
* conf/Makefile.common: Don't include non-existing directory
grub-core/lib/libgcrypt-grub/include.
Vladimir Serbinenko [Sat, 21 Dec 2013 02:21:45 +0000 (03:21 +0100)]
Clarify several translatable messages.
David Prévot [Sat, 21 Dec 2013 02:03:31 +0000 (03:03 +0100)]
Correct some translatable strings.