]> git.proxmox.com Git - grub2.git/log
grub2.git
9 years agochange stop condition to avoid infinite loops
Paulo Flabiano Smorigo [Tue, 21 Jan 2014 12:49:39 +0000 (10:49 -0200)]
change stop condition to avoid infinite loops

In net/net.c there is a while (1) that only exits if there is a stop
condition and more then 10 packages or if there is no package received.

If GRUB is idle and enter in this loop, the only condition to leave is
if it doesn't have incoming packages. In a network with heavy traffic
this never happens.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=d99d2f84166b0f60673d5c0714605a153946c0fc
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1314134
Last-Update: 2014-04-29

Patch-Name: net-receive-packets-yield.patch

9 years agoTolerate devices with no filesystem UUID returned by os-prober
Colin Watson [Thu, 10 Apr 2014 15:54:33 +0000 (16:54 +0100)]
Tolerate devices with no filesystem UUID returned by os-prober

* util/grub.d/30_os-prober.in: Tolerate devices with no filesystem
UUID.  Other parts of grub-mkconfig tolerate these, they were
previously allowed here up to commit
55e706c918922def17f5012c23cfe88c4c645208, and they can arise in
practice when the system has active LVM snapshots.
Fixes Ubuntu bug #1287436.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=3a310e842fb7a9818c2e7cf0f4118f13660871d2
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1287436
Forwarded: not-needed
Last-Update: 2014-04-10

Patch-Name: tolerate-lvm-snapshots.patch

9 years agobtrfs: fix get_root key comparison failures due to endianness
Thomas Falcon [Mon, 31 Mar 2014 14:32:30 +0000 (15:32 +0100)]
btrfs: fix get_root key comparison failures due to endianness

* grub-core/fs/btrfs.c (get_root): Convert
GRUB_BTRFS_ROOT_VOL_OBJECTID to little-endian.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=4afd0107efa6a2d9cbe6fc71c529264dc2b9fb8a
Forwarded: not-needed
Last-Update: 2014-03-31

Patch-Name: btrfs-endian.patch

9 years agoFix partmap, cryptodisk, and abstraction handling in grub-mkconfig.
Colin Watson [Mon, 31 Mar 2014 13:48:33 +0000 (14:48 +0100)]
Fix partmap, cryptodisk, and abstraction handling in grub-mkconfig.

Commit 588744d0dc655177d5883bdcb8f72ff5160109ed caused grub-mkconfig
no longer to be forgiving of trailing spaces on grub-probe output
lines, which among other things means that util/grub.d/10_linux.in
no longer detects LVM.  To fix this, make grub-probe's output
delimiting more consistent.  As a bonus, this improves the coverage
of the -0 option.

Fixes Debian bug #735935.

* grub-core/disk/cryptodisk.c
(grub_util_cryptodisk_get_abstraction): Add a user-data argument.
* grub-core/disk/diskfilter.c (grub_diskfilter_get_partmap):
Likewise.
* include/grub/cryptodisk.h (grub_util_cryptodisk_get_abstraction):
Update prototype.
* include/grub/diskfilter.h (grub_diskfilter_get_partmap): Likewise.
* util/grub-install.c (push_partmap_module, push_cryptodisk_module,
probe_mods): Adjust for extra user-data arguments.
* util/grub-probe.c (do_print, probe_partmap, probe_cryptodisk_uuid,
probe_abstraction): Use configured delimiter.  Update callers.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=24024dac7f51d3c0df8e1bec63c02d52828de534
Bug-Debian: http://bugs.debian.org/735935
Forwarded: not-needed
Last-Update: 2014-03-31

Patch-Name: probe-delimiter.patch

9 years agoieee1275: check for IBM pseries emulated machine
Nikunj A Dadhania [Thu, 20 Mar 2014 11:27:12 +0000 (16:57 +0530)]
ieee1275: check for IBM pseries emulated machine

is_qemu is not being set lead to disabling of feature like
GRUB_IEEE1275_FLAG_HAS_CURSORONOFF. This resulted in cursor not being
displayed during the grub-menu edit.

Author: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=e4a1fe391906bfcd1a778c5ec4e242c4b07d429d
Forwarded: not-needed
Last-Update: 2014-03-24

Patch-Name: ieee1275-pseries-emulation.patch

9 years agoChange grub-mkrescue to use bootaa64.efi too
Andrey Borzenkov [Mon, 10 Mar 2014 13:35:53 +0000 (13:35 +0000)]
Change grub-mkrescue to use bootaa64.efi too

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=e7cfa8d5e1c6d54d40731065e535889b2e8bc9a2
Last-Update: 2014-03-10

Patch-Name: mkrescue_arm64_naming.patch

9 years agouse {grub,boot}aa64.efi for boot images on AArch64
Andrey Borzenkov [Mon, 10 Mar 2014 13:34:10 +0000 (13:34 +0000)]
use {grub,boot}aa64.efi for boot images on AArch64

According to UEFI 2.4 specification, default boot file name on AArch64
is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior). Also set default
GRUB image name to grubaa64.efi to match it.

Origin: backport, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=c9e839e2caaf278491f99e7d181cf20dcf5f0b75
Last-Update: 2014-03-10

Patch-Name: install_arm64_naming.patch

9 years agoPort yaboot logic for various powerpc machine types
Colin Watson [Tue, 28 Jan 2014 14:40:02 +0000 (14:40 +0000)]
Port yaboot logic for various powerpc machine types

Some powerpc machines require not updating the NVRAM.  This can be handled
by existing grub-install command-line options, but it's friendlier to detect
this automatically.

On chrp_ibm machines, use the nvram utility rather than nvsetenv.  (This
is possibly suitable for other machines too, but that needs to be
verified.)

Forwarded: no
Last-Update: 2014-10-15

Patch-Name: install_powerpc_machtypes.patch

9 years agoIgnore EPERM when modifying kern.geom.debugflags
Colin Watson [Fri, 17 Jan 2014 02:55:58 +0000 (02:55 +0000)]
Ignore EPERM when modifying kern.geom.debugflags

Many tests fail when run as a non-root user on FreeBSD.  The failures
all amount to an inability to open files using grub_util_fd_open,
because we cannot set the kern.geom.debugflags sysctl.  This sysctl is
indeed important to allow us to do such things as installing GRUB to the
MBR, but if we need to do that and can't then we will get an error
later.  Enforcing it here is unnecessary and prevents otherwise
perfectly reasonable operations.

Forwarded: https://lists.gnu.org/archive/html/grub-devel/2014-01/msg00086.html
Last-Update: 2014-01-17

Patch-Name: freebsd_debugflags_eperm.patch

9 years agogrub-shell: Pass -no-pad to xorriso when building floppy images
Colin Watson [Thu, 16 Jan 2014 12:51:23 +0000 (12:51 +0000)]
grub-shell: Pass -no-pad to xorriso when building floppy images

The floppy images built by grub-shell are currently just over the
floppy limit, and the Debian patch set plus the 915resolution extra
bring this up to the point where GRUB tries to actually read past
the floppy limit, breaking fddboot_test.  Passing -no-pad buys us
300KiB, which should keep us going for a while.

* tests/util/grub-shell.in: Pass -no-pad to xorriso when building
floppy images, saving 300KiB.

Forwarded: https://lists.gnu.org/archive/html/grub-devel/2014-01/msg00074.html
Last-Update: 2014-01-16

Patch-Name: grub-shell-no-pad.patch

9 years ago* Makefile.util.def (grub-macbless): Change mansection to 8.
Colin Watson [Wed, 8 Jan 2014 11:05:20 +0000 (11:05 +0000)]
* Makefile.util.def (grub-macbless): Change mansection to 8.

Patch-Name: macbless_mansection.patch

9 years agoAdd bi-endian support to ELF parser
Tomohiro B Berry [Tue, 14 Jan 2014 17:43:25 +0000 (17:43 +0000)]
Add bi-endian support to ELF parser

This patch adds bi-endian support for both 32-bit and 64-bit elf files.

It compares the native endianness to the endianness of the elf file, and
swaps the header bytes if necessary.  This will allow, for example,
32-bit Big Endian grub to load a 64-bit Little Endian kernel.

Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-01/msg00039.html

Patch-Name: elf_bi_endian.patch

9 years agoDon't run gettext_strings_test
Colin Watson [Mon, 13 Jan 2014 12:13:34 +0000 (12:13 +0000)]
Don't run gettext_strings_test

This test is mainly useful as an upstream maintenance check.

Forwarded: not-needed
Last-Update: 2013-12-23

Patch-Name: skip_gettext_strings_test.patch

9 years agoAdd GRUB_RECOVERY_TITLE option
Colin Watson [Mon, 13 Jan 2014 12:13:33 +0000 (12:13 +0000)]
Add GRUB_RECOVERY_TITLE option

This allows the controversial "recovery mode" text to be customised.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1240360
Forwarded: no
Last-Update: 2013-12-25

Patch-Name: mkconfig_recovery_title.patch

9 years agoIgnore functional test failures for now as they are broken
Colin Watson [Mon, 13 Jan 2014 12:13:32 +0000 (12:13 +0000)]
Ignore functional test failures for now as they are broken

See: https://lists.gnu.org/archive/html/grub-devel/2013-11/msg00242.html

Forwarded: not-needed
Last-Update: 2013-11-19

Patch-Name: ignore_grub_func_test_failures.patch

9 years agoProbe FusionIO devices
Colin Watson [Mon, 13 Jan 2014 12:13:31 +0000 (12:13 +0000)]
Probe FusionIO devices

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1237519
Forwarded: no
Last-Update: 2013-11-15

Patch-Name: probe_fusionio.patch

9 years agoAdd configure option to use vt.handoff=7
Colin Watson [Mon, 13 Jan 2014 12:13:30 +0000 (12:13 +0000)]
Add configure option to use vt.handoff=7

This is used for non-recovery Linux entries only; it enables
flicker-free booting if gfxpayload=keep is in use and a suitable kernel
is present.

Author: Andy Whitcroft <apw@canonical.com>
Forwarded: not-needed
Last-Update: 2013-12-25

Patch-Name: vt_handoff.patch

9 years agoAdd configure option to enable gfxpayload=keep dynamically
Evan Broder [Mon, 13 Jan 2014 12:13:29 +0000 (12:13 +0000)]
Add configure option to enable gfxpayload=keep dynamically

Set GRUB_GFXPAYLOAD_LINUX=keep unless it's known to be unsupported on
the current hardware.  See
https://blueprints.launchpad.net/ubuntu/+spec/packageselection-foundations-n-grub2-boot-framebuffer.

Author: Colin Watson <cjwatson@ubuntu.com>
Forwarded: no
Last-Update: 2013-12-25

Patch-Name: gfxpayload_dynamic.patch

9 years agoAdd configure option to bypass boot menu if possible
Colin Watson [Mon, 13 Jan 2014 12:13:28 +0000 (12:13 +0000)]
Add configure option to bypass boot menu if possible

If other operating systems are installed, then automatically unhide the
menu.  Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus if
available to check whether Shift is pressed.  If it is, show the menu,
otherwise boot immediately.  If keystatus is not available, then fall
back to a short delay interruptible with Escape.

This may or may not remain Ubuntu-specific, although it's not obviously
wanted upstream.  It implements a requirement of
https://wiki.ubuntu.com/DesktopExperienceTeam/KarmicBootExperienceDesignSpec#Bootloader.

If the previous boot failed (defined as failing to get to the end of one
of the normal runlevels), then show the boot menu regardless.

Author: Richard Laager <rlaager@wiktel.com>
Author: Robie Basak <robie.basak@ubuntu.com>
Forwarded: no
Last-Update: 2015-05-14

Patch-Name: quick_boot.patch

9 years agoCope with Kubuntu setting GRUB_DISTRIBUTOR
Colin Watson [Mon, 13 Jan 2014 12:13:27 +0000 (12:13 +0000)]
Cope with Kubuntu setting GRUB_DISTRIBUTOR

This is not a very good approach, and certainly not sanely upstreamable;
we probably need to split GRUB_DISTRIBUTOR into a couple of different
variables.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1242417
Forwarded: not-needed
Last-Update: 2013-12-25

Patch-Name: install_efi_ubuntu_flavours.patch

9 years agoAdd configure option to reduce visual clutter at boot time
Colin Watson [Mon, 13 Jan 2014 12:13:26 +0000 (12:13 +0000)]
Add configure option to reduce visual clutter at boot time

If this option is enabled, then do all of the following:

Don't display introductory message about line editing unless we're
actually offering a shell prompt.  (This is believed to be a workaround
for a different bug.  We'll go with this for now, but will drop this in
favour of a better fix upstream if somebody figures out what that is.)

Don't clear the screen just before booting if we never drew the menu in
the first place.

Remove verbose messages printed before reading configuration.  In some
ways this is awkward because it makes debugging harder, but it's a
requirement for a smooth-looking boot process; we may be able to do
better in future.  Upstream doesn't want this, though.

Disable the cursor as well, for similar reasons of tidiness.

Suppress kernel/initrd progress messages, except in recovery mode.

Suppress "GRUB loading" message unless Shift is held down.  Upstream
doesn't want this, as it makes debugging harder.  Ubuntu wants it to
provide a cleaner boot experience.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/386922
Bug-Ubuntu: https://bugs.launchpad.net/bugs/861048
Forwarded: (partial) http://lists.gnu.org/archive/html/grub-devel/2009-09/msg00056.html
Last-Update: 2014-01-03

Patch-Name: maybe_quiet.patch

9 years agoSkip Windows os-prober entries on Wubi systems
Colin Watson [Mon, 13 Jan 2014 12:13:24 +0000 (12:13 +0000)]
Skip Windows os-prober entries on Wubi systems

Since we're already being booted from the Windows boot loader, including
entries that take us back to it mostly just causes confusion, and stops
us from being able to hide the menu if there are no other OSes
installed.

https://blueprints.launchpad.net/ubuntu/+spec/foundations-o-wubi

Forwarded: not-needed
Last-Update: 2013-11-26

Patch-Name: wubi_no_windows.patch

9 years agoAllow Shift to interrupt 'sleep --interruptible'
Colin Watson [Mon, 13 Jan 2014 12:13:23 +0000 (12:13 +0000)]
Allow Shift to interrupt 'sleep --interruptible'

Upstream would like to consider this at more length. See
http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00718.html, and
the rest of the thread for context.

Forwarded: http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00694.html
Last-Update: 2013-12-04

Patch-Name: sleep_shift.patch

9 years agoInstall signed images if UEFI Secure Boot is enabled
Colin Watson [Mon, 13 Jan 2014 12:13:22 +0000 (12:13 +0000)]
Install signed images if UEFI Secure Boot is enabled

Author: Stéphane Graber <stgraber@ubuntu.com>
Author: Steve Langasek <steve.langasek@ubuntu.com>
Forwarded: no
Last-Update: 2014-03-31

Patch-Name: install_signed.patch

9 years agoGenerate configuration for signed UEFI kernels if available
Colin Watson [Mon, 13 Jan 2014 12:13:21 +0000 (12:13 +0000)]
Generate configuration for signed UEFI kernels if available

Forwarded: no
Last-Update: 2013-12-25

Patch-Name: mkconfig_signed_kernel.patch

9 years agoIf running under UEFI secure boot, attempt to use linuxefi loader
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

9 years agoMake linuxefi refuse to boot without shim
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

9 years agoAdd more debugging to linuxefi
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

9 years agoAdd "linuxefi" loader which avoids ExitBootServices
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: 2014-11-18

Patch-Name: linuxefi.patch

9 years agoRemove GNU/Linux from default distributor string for Ubuntu
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

9 years agoOutput a menu entry for firmware setup on UEFI FastBoot systems
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

9 years agoBlacklist 1440x900x32 from VBE preferred mode handling
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

9 years agoRead /etc/default/grub.d/*.cfg after /etc/default/grub
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: 2014-01-28

Patch-Name: default_grub_d.patch

9 years agoDon't permit loading modules on UEFI secure boot
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

9 years agoAvoid getting confused by inaccessible loop device backing paths
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

9 years agoPrefer translations from Ubuntu language packs if available
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

9 years ago"single" -> "recovery" when friendly-recovery is installed
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

9 years agoFall back to i386-pc if booted using EFI but -efi is missing
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

9 years agoBail out if trying to run grub-mkconfig during upgrade to 2.00
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

9 years agoSilence error messages when translations are unavailable
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

9 years agoRestore grub-mkdevicemap
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

10 years agoHandle filesystems loop-mounted on file images
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

10 years agoBuild part_msdos and vfat into EFI boot images
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

10 years agoIf GRUB Legacy is still around, tell packaging to ignore it
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

10 years agoDisable gfxpayload=keep by default
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

10 years agoMake grub.cfg world-readable if it contains no passwords
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

10 years agoDisable use of floppy devices
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

10 years agoSupport running grub-probe in grub-legacy's update-grub
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

10 years agoImprove handling of Debian kernel version numbers
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

10 years agoWrite marker if core.img was written to filesystem
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

10 years agoHack prefix for OLPC
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

10 years ago * configure.ac: Set version to 2.02~beta2.
Vladimir Serbinenko [Tue, 24 Dec 2013 20:53:23 +0000 (21:53 +0100)]
* configure.ac: Set version to 2.02~beta2.

10 years ago * grub-core/disk/efi/efidisk.c (name_devices): Skip Apple ghosts.
Vladimir Serbinenko [Tue, 24 Dec 2013 19:32:14 +0000 (20:32 +0100)]
* grub-core/disk/efi/efidisk.c (name_devices): Skip Apple ghosts.

10 years ago * util/grub-probe.c: Improve help message and simplify list handling.
Andrey Borzenkov [Tue, 24 Dec 2013 19:30:16 +0000 (20:30 +0100)]
* util/grub-probe.c: Improve help message and simplify list handling.

10 years ago Fix buffer overflow in grub_efi_print_device_path.
Vladimir Serbinenko [Tue, 24 Dec 2013 18:04:46 +0000 (19:04 +0100)]
Fix buffer overflow in grub_efi_print_device_path.

10 years ago Show SATA device path.
Vladimir Serbinenko [Tue, 24 Dec 2013 17:10:28 +0000 (18:10 +0100)]
Show SATA device path.

10 years ago Revert grub-file usage in grub-mkconfig.
Vladimir Serbinenko [Tue, 24 Dec 2013 16:47:27 +0000 (17:47 +0100)]
Revert grub-file usage in grub-mkconfig.

10 years ago Make newly-created files other than grub.cfg world-readable.
Vladimir Serbinenko [Tue, 24 Dec 2013 16:36:10 +0000 (17:36 +0100)]
Make newly-created files other than grub.cfg world-readable.

10 years ago * util/grub.d/00_header.in: Improve compatibility with old config.
Andrey Borzenkov [Tue, 24 Dec 2013 16:26:05 +0000 (17:26 +0100)]
* util/grub.d/00_header.in: Improve compatibility with old config.

10 years ago Make rijndael.c respect aliasing rules.
Vladimir Serbinenko [Tue, 24 Dec 2013 15:57:28 +0000 (16:57 +0100)]
Make rijndael.c respect aliasing rules.

Trivial backport of dfb4673da8ee52d95e0a62c9f49ca8599943f22e.

10 years ago Make grub_util_device_is_mapped_stat available in grub-emu core.
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.

10 years ago Add -Qn to TARGET_CFLAGS if it's supported.
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.

10 years ago Save TARGET_CC version in modinfo.sh.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:47:44 +0000 (14:47 +0100)]
Save TARGET_CC version in modinfo.sh.

Suggested by: Andrey Borzenkov.

10 years ago Make grub_util_devmapper_part_to_disk and grub_util_find_partition_start
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.

10 years ago Declare GRUB_EFI_VENDOR_APPLE_GUID.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:14:19 +0000 (14:14 +0100)]
Declare GRUB_EFI_VENDOR_APPLE_GUID.

10 years ago Dump type and vendor specific data when printing device path.
Vladimir Serbinenko [Tue, 24 Dec 2013 13:05:48 +0000 (14:05 +0100)]
Dump type and vendor specific data when printing device path.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/grub
Vladimir Serbinenko [Mon, 23 Dec 2013 17:17:29 +0000 (18:17 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/grub

10 years ago ARM64 support for grub-mkrescue.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:52:52 +0000 (17:52 +0100)]
ARM64 support for grub-mkrescue.

10 years ago Install modinfo.sh to keep build information around.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:51:39 +0000 (17:51 +0100)]
Install modinfo.sh to keep build information around.

10 years ago * grub-core/modinfo.sh.in: Add build config information.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:37:19 +0000 (17:37 +0100)]
* grub-core/modinfo.sh.in: Add build config information.

10 years ago ARM64 grub-file and grub-mkconfig support.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:35:18 +0000 (17:35 +0100)]
ARM64 grub-file and grub-mkconfig support.

10 years ago Remove leftover options defines.
Vladimir Serbinenko [Mon, 23 Dec 2013 16:24:52 +0000 (17:24 +0100)]
Remove leftover options defines.

10 years agoUpdate some documentation to refer to Git rather than Bazaar.
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.

10 years agoDon't distribute config.h.
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.

10 years ago* configure.ac: Fix spelling.
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".

10 years ago * include/grub/arm64/linux.h: Remove leftovers. Add missing prefixes.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:56:31 +0000 (05:56 +0100)]
* include/grub/arm64/linux.h: Remove leftovers. Add missing prefixes.

10 years ago * grub-core/loader/arm64/linux.c: Add missing bracket.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:34:13 +0000 (05:34 +0100)]
* grub-core/loader/arm64/linux.c: Add missing bracket.

10 years ago Add arm64-efi recognition to grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:33:44 +0000 (05:33 +0100)]
Add arm64-efi recognition to grub-file.

10 years ago Fix ia64-efi recognition in grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:27:04 +0000 (05:27 +0100)]
Fix ia64-efi recognition in grub-file.

10 years ago Recognize raspberry pi kernel in grub-file.
Vladimir Serbinenko [Mon, 23 Dec 2013 04:19:42 +0000 (05:19 +0100)]
Recognize raspberry pi kernel in grub-file.

10 years ago Enable cache on ARM U-Boot port.
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.

10 years ago Fix ARM cache maintainance.
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.

10 years ago * grub-core/kern/arm/cache.c (grub_arm_disable_caches_mmu): Use v6
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.

10 years agogrub-mkconfig: fix Xen platform conditions
Andrey Borzenkov [Sun, 22 Dec 2013 19:47:26 +0000 (23:47 +0400)]
grub-mkconfig: fix Xen platform conditions

10 years agosplit grub-mkresecue help text to facilitate translations
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

10 years agoarm64: add EFI Linux loader
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>
10 years agofdt: additions required for arm64 Linux loader
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.

10 years ago Add module loading and parsing boot time checkpoints.
Vladimir Serbinenko [Sun, 22 Dec 2013 17:14:42 +0000 (18:14 +0100)]
Add module loading and parsing boot time checkpoints.

10 years ago * grub-core/loader/arm/linux.c: Pass arguments through on ATAG
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.

10 years ago * util/grub-mkconfig.in: Skip non-executable files.
Lars Wendler [Sun, 22 Dec 2013 15:38:28 +0000 (16:38 +0100)]
* util/grub-mkconfig.in: Skip non-executable files.

10 years ago Workaround buggy timer in raspberry pie by using our own timer
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.

10 years ago * include/grub/arm/uboot/kernel.h (GRUB_KERNEL_MACHINE_HEAP_SIZE):
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.

10 years ago Fix ARM Linux Loader on non-FDT platforms.
Vladimir Serbinenko [Sat, 21 Dec 2013 23:30:19 +0000 (00:30 +0100)]
Fix ARM Linux Loader on non-FDT platforms.

10 years ago * configure.ac: Choose link format based on host_os on emu.
Vladimir Serbinenko [Sat, 21 Dec 2013 19:19:34 +0000 (20:19 +0100)]
* configure.ac: Choose link format based on host_os on emu.

10 years ago * grub-core/osdep/unix/getroot.c: Non-unix build fix.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:10:05 +0000 (18:10 +0100)]
* grub-core/osdep/unix/getroot.c: Non-unix build fix.

10 years ago * grub-core/kern/emu/main.c: Build fix for emu.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:09:19 +0000 (18:09 +0100)]
* grub-core/kern/emu/main.c: Build fix for emu.

10 years ago Build fixes for argp.h with older gcc.
Vladimir Serbinenko [Sat, 21 Dec 2013 17:08:25 +0000 (18:08 +0100)]
Build fixes for argp.h with older gcc.

10 years ago * util/grub-glue-efi.c: Use "universal binary" rather "fat binary"
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.

10 years ago * include/grub/crypto.h (grub_crypto_xor): Fix cast-align warning.
Vladimir Serbinenko [Sat, 21 Dec 2013 14:35:15 +0000 (15:35 +0100)]
* include/grub/crypto.h (grub_crypto_xor): Fix cast-align warning.

10 years ago Enable -Wformat=2 if it's supported.
Vladimir Serbinenko [Sat, 21 Dec 2013 14:28:28 +0000 (15:28 +0100)]
Enable -Wformat=2 if it's supported.