]> git.proxmox.com Git - grub2.git/log
grub2.git
9 years agoFix installation failure on chrp_ibm/qemu
Colin Watson [Wed, 15 Oct 2014 12:28:08 +0000 (13:28 +0100)]
Fix installation failure on chrp_ibm/qemu

Disable nvram installation again on chrp_ibm machines that are
emulated by qemu; that doesn't have nvram devices so the nvram
utility inevitably fails.

9 years agoDisable VSX instruction
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 22:33:39 +0000 (19:33 -0300)]
Disable VSX instruction

VSX bit is enabled by default for Power7 and Power8 CPU models,
so we need to disable them in order to avoid instruction exceptions.
Kernel will activate it when necessary.

* grub-core/kern/powerpc/ieee1275/startup.S: Disable VSX.

Also-By: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00078.html
Last-Update: 2014-09-26

Patch-Name: ppc64el-disable-vsx.patch

9 years agoInclude a text attribute reset in the clear command for ppc
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 21:41:29 +0000 (18:41 -0300)]
Include a text attribute reset in the clear command for ppc

Always clear text attribute for clear command in order to avoid problems
after it boots.

* grub-core/term/terminfo.c: Add escape for text attribute reset

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html
Last-Update: 2014-09-26

Patch-Name: ieee1275-clear-reset.patch

9 years agoRemove .MIPS.abiflags section from images
Colin Watson [Fri, 26 Sep 2014 09:34:46 +0000 (10:34 +0100)]
Remove .MIPS.abiflags section from images

Recent versions of binutils generate this section, but we don't need it
when producing raw images.

Bug-Debian: https://bugs.debian.org/762307
Forwarded: no
Last-Update: 2014-09-26

Patch-Name: mips-abiflags.patch

9 years agoAdd a new "none" platform that only builds utilities
Colin Watson [Tue, 23 Sep 2014 11:11:58 +0000 (12:11 +0100)]
Add a new "none" platform that only builds utilities

This makes it possible to build generally-useful utilities such as
grub-mount even if the rest of GRUB has not been ported to the target
CPU.

* configure.ac: Add "none" platform.  Default to it for unsupported
CPUs rather than stopping with a fatal error.  Don't downgrade
x86_64-none to i386.  Define COND_real_platform Automake conditional
if the platform is anything other than "none".  Don't do any include
directory linking for "none".
* Makefile.am: Skip building grub-core and all bootcheck targets if
!COND_real_platform.
* include/grub/time.h: Don't include <grub/cpu/time.h> if GRUB_UTIL
is defined.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=5d90f6e533d82abf89f9e1787f90f17f2fab14aa
Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=77063f4cb672f423272db7e21ca448cf3de98dcf
Last-Update: 2014-09-25

Patch-Name: platform-none.patch

9 years agoSkip libgcc dependency for powerpc
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:44:30 +0000 (14:44 -0300)]
Skip libgcc dependency for powerpc

* configure.ac: Add conditions to avoid libgcc dependency.
* Makefile.am: Likewise.
* Makefile.core.def: Include compiler-rt.S and compiler-rt.c.
* compiler-rt.c: New file.
* compiler-rt.S: Likewise.
* compiler-rt.h: Likewise.

Also-By: Brent Baude <bbaude@redhat.com>
Also-By: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00021.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-skip-libgcc.patch

9 years agoAdd powerpc little-endian (ppc64le) flags
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:42:40 +0000 (14:42 -0300)]
Add powerpc little-endian (ppc64le) flags

* configure.ac: Add target for ppc64le (ppc64el).

Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00022.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-flags.patch

9 years agoSupport grub-emu on x32 (ILP32 but with x86-64 instruction set)
Colin Watson [Sun, 7 Sep 2014 22:06:49 +0000 (23:06 +0100)]
Support grub-emu on x32 (ILP32 but with x86-64 instruction set)

* configure.ac: Remove -m64 from checks for -mcmodel=large and
-mno-red-zone.  These are always either unnecessary (x86_64-emu) or
already in TARGET_CFLAGS at this point, and they produce incorrect
results when building for x32.
* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Cast
pointers to Elf64_Xword via grub_addr_t, in order to work on x32.
* include/grub/x86_64/types.h (GRUB_TARGET_SIZEOF_VOID_P,
GRUB_TARGET_SIZEOF_LONG): Define to 4 on x32.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=2a5a532c0047d4eff90175936b220b638cce1013
Bug-Debian: http://bugs.debian.org/760428
Last-Update: 2014-09-07

Patch-Name: x32.patch

9 years agoFix an infinite loop in grub-mkconfig
Colin Watson [Tue, 8 Jul 2014 22:54:30 +0000 (23:54 +0100)]
Fix an infinite loop in grub-mkconfig

* util/grub.d/10_hurd.in: Make kernel list progression not fail on
kernels whose paths contain regex metacharacters.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

Reported by: Heimo Stranner.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=0901e7855f922e770cbfeb58262cb8fded518190
Last-Update: 2014-07-08

Patch-Name: mkconfig-kernels-infloop.patch

9 years agoAdd support for nvme device in grub-mkdevicemap
Dimitri John Ledkov [Tue, 29 Apr 2014 15:45:44 +0000 (16:45 +0100)]
Add support for nvme device in grub-mkdevicemap

Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Debian: https://bugs.debian.org/746396
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1275162
Forwarded: no
Last-Update: 2014-05-08

Patch-Name: probe_nvme.patch

9 years agoincrease network try interval gradually
Paulo Flabiano Smorigo [Tue, 21 Jan 2014 13:03:51 +0000 (11:03 -0200)]
increase network try interval gradually

* grub-core/net/arp.c (grub_net_arp_send_request): Increase network try
interval gradually.
* grub-core/net/icmp6.c (grub_net_icmp6_send_request): Likewise.
* grub-core/net/net.c (grub_net_fs_read_real): Likewise.
* grub-core/net/tftp.c (tftp_open): Likewise.
* include/grub/net.h (GRUB_NET_INTERVAL_ADDITION): New define.

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

Patch-Name: net-ramp-up-interval.patch

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 agoreleasing package grub2 version 2.02~beta2-14
Colin Watson [Fri, 26 Sep 2014 17:56:26 +0000 (18:56 +0100)]
releasing package grub2 version 2.02~beta2-14

9 years agoOn ppc64el, look for a PReP partition and install the core image to the first one...
Colin Watson [Fri, 26 Sep 2014 17:04:25 +0000 (18:04 +0100)]
On ppc64el, look for a PReP partition and install the core image to the first one if found.

For now this is done by borrowing prep-bootdev.c from grub-installer, incurring a dependency on libparted.

9 years agoRemove brace-expansion from the postrm, and switch the preinst and postrm to /bin...
Colin Watson [Fri, 26 Sep 2014 14:23:43 +0000 (15:23 +0100)]
Remove brace-expansion from the postrm, and switch the preinst and postrm to /bin/sh (closes: #762940).

9 years agoreflow changelog
Colin Watson [Fri, 26 Sep 2014 14:22:53 +0000 (15:22 +0100)]
reflow changelog

9 years agoUse nvram rather than nvsetenv on chrp_ibm machines, since that tool
Colin Watson [Fri, 26 Sep 2014 13:08:51 +0000 (14:08 +0100)]
Use nvram rather than nvsetenv on chrp_ibm machines, since that tool
is better-supported and copes with such things as nvram being
missing in qemu.

9 years agoDisable VSX instruction
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 22:33:39 +0000 (19:33 -0300)]
Disable VSX instruction

VSX bit is enabled by default for Power7 and Power8 CPU models,
so we need to disable them in order to avoid instruction exceptions.
Kernel will activate it when necessary.

* grub-core/kern/powerpc/ieee1275/startup.S: Disable VSX.

Also-By: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00078.html
Last-Update: 2014-09-26

Patch-Name: ppc64el-disable-vsx.patch

9 years agoInclude a text attribute reset in the clear command for ppc
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 21:41:29 +0000 (18:41 -0300)]
Include a text attribute reset in the clear command for ppc

Always clear text attribute for clear command in order to avoid problems
after it boots.

* grub-core/term/terminfo.c: Add escape for text attribute reset

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html
Last-Update: 2014-09-26

Patch-Name: ieee1275-clear-reset.patch

9 years agoRemove .MIPS.abiflags section from images
Colin Watson [Fri, 26 Sep 2014 09:34:46 +0000 (10:34 +0100)]
Remove .MIPS.abiflags section from images

Recent versions of binutils generate this section, but we don't need it
when producing raw images.

Bug-Debian: https://bugs.debian.org/762307
Forwarded: no
Last-Update: 2014-09-26

Patch-Name: mips-abiflags.patch

9 years agoAdd a new "none" platform that only builds utilities
Colin Watson [Tue, 23 Sep 2014 11:11:58 +0000 (12:11 +0100)]
Add a new "none" platform that only builds utilities

This makes it possible to build generally-useful utilities such as
grub-mount even if the rest of GRUB has not been ported to the target
CPU.

* configure.ac: Add "none" platform.  Default to it for unsupported
CPUs rather than stopping with a fatal error.  Don't downgrade
x86_64-none to i386.  Define COND_real_platform Automake conditional
if the platform is anything other than "none".  Don't do any include
directory linking for "none".
* Makefile.am: Skip building grub-core and all bootcheck targets if
!COND_real_platform.
* include/grub/time.h: Don't include <grub/cpu/time.h> if GRUB_UTIL
is defined.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=5d90f6e533d82abf89f9e1787f90f17f2fab14aa
Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=77063f4cb672f423272db7e21ca448cf3de98dcf
Last-Update: 2014-09-25

Patch-Name: platform-none.patch

9 years agoSkip libgcc dependency for powerpc
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:44:30 +0000 (14:44 -0300)]
Skip libgcc dependency for powerpc

* configure.ac: Add conditions to avoid libgcc dependency.
* Makefile.am: Likewise.
* Makefile.core.def: Include compiler-rt.S and compiler-rt.c.
* compiler-rt.c: New file.
* compiler-rt.S: Likewise.
* compiler-rt.h: Likewise.

Also-By: Brent Baude <bbaude@redhat.com>
Also-By: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00021.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-skip-libgcc.patch

9 years agoAdd powerpc little-endian (ppc64le) flags
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:42:40 +0000 (14:42 -0300)]
Add powerpc little-endian (ppc64le) flags

* configure.ac: Add target for ppc64le (ppc64el).

Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00022.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-flags.patch

9 years agoSupport grub-emu on x32 (ILP32 but with x86-64 instruction set)
Colin Watson [Sun, 7 Sep 2014 22:06:49 +0000 (23:06 +0100)]
Support grub-emu on x32 (ILP32 but with x86-64 instruction set)

* configure.ac: Remove -m64 from checks for -mcmodel=large and
-mno-red-zone.  These are always either unnecessary (x86_64-emu) or
already in TARGET_CFLAGS at this point, and they produce incorrect
results when building for x32.
* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Cast
pointers to Elf64_Xword via grub_addr_t, in order to work on x32.
* include/grub/x86_64/types.h (GRUB_TARGET_SIZEOF_VOID_P,
GRUB_TARGET_SIZEOF_LONG): Define to 4 on x32.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=2a5a532c0047d4eff90175936b220b638cce1013
Bug-Debian: http://bugs.debian.org/760428
Last-Update: 2014-09-07

Patch-Name: x32.patch

9 years agoFix an infinite loop in grub-mkconfig
Colin Watson [Tue, 8 Jul 2014 22:54:30 +0000 (23:54 +0100)]
Fix an infinite loop in grub-mkconfig

* util/grub.d/10_hurd.in: Make kernel list progression not fail on
kernels whose paths contain regex metacharacters.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

Reported by: Heimo Stranner.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=0901e7855f922e770cbfeb58262cb8fded518190
Last-Update: 2014-07-08

Patch-Name: mkconfig-kernels-infloop.patch

9 years agoAdd support for nvme device in grub-mkdevicemap
Dimitri John Ledkov [Tue, 29 Apr 2014 15:45:44 +0000 (16:45 +0100)]
Add support for nvme device in grub-mkdevicemap

Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Debian: https://bugs.debian.org/746396
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1275162
Forwarded: no
Last-Update: 2014-05-08

Patch-Name: probe_nvme.patch

9 years agoincrease network try interval gradually
Paulo Flabiano Smorigo [Tue, 21 Jan 2014 13:03:51 +0000 (11:03 -0200)]
increase network try interval gradually

* grub-core/net/arp.c (grub_net_arp_send_request): Increase network try
interval gradually.
* grub-core/net/icmp6.c (grub_net_icmp6_send_request): Likewise.
* grub-core/net/net.c (grub_net_fs_read_real): Likewise.
* grub-core/net/tftp.c (tftp_open): Likewise.
* include/grub/net.h (GRUB_NET_INTERVAL_ADDITION): New define.

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

Patch-Name: net-ramp-up-interval.patch

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-09-26

Patch-Name: install_powerpc_machtypes.patch

9 years agoDisable flicker-free-boot on Ubuntu ppc64el for now, as it isn't needed there and...
Colin Watson [Fri, 26 Sep 2014 13:03:00 +0000 (14:03 +0100)]
Disable flicker-free-boot on Ubuntu ppc64el for now, as it isn't needed there and causes too many problems (LP: #1338471).

9 years agoRefactor flicker-free-boot configuration in debian/rules to reduce duplication.
Colin Watson [Fri, 26 Sep 2014 12:58:19 +0000 (13:58 +0100)]
Refactor flicker-free-boot configuration in debian/rules to reduce duplication.

9 years agoStop adding a CHRP note on chrp_ibm machines, since that apparently breaks PowerVM...
Colin Watson [Fri, 26 Sep 2014 12:42:36 +0000 (13:42 +0100)]
Stop adding a CHRP note on chrp_ibm machines, since that apparently breaks PowerVM and isn't needed on other machine types as far as we can tell (LP: #1334793).

9 years agoDisable VSX instruction
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 22:33:39 +0000 (19:33 -0300)]
Disable VSX instruction

VSX bit is enabled by default for Power7 and Power8 CPU models,
so we need to disable them in order to avoid instruction exceptions.
Kernel will activate it when necessary.

* grub-core/kern/powerpc/ieee1275/startup.S: Disable VSX.

Also-By: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00078.html
Last-Update: 2014-09-26

Patch-Name: ppc64el-disable-vsx.patch

9 years agoInclude a text attribute reset in the clear command for ppc
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 21:41:29 +0000 (18:41 -0300)]
Include a text attribute reset in the clear command for ppc

Always clear text attribute for clear command in order to avoid problems
after it boots.

* grub-core/term/terminfo.c: Add escape for text attribute reset

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html
Last-Update: 2014-09-26

Patch-Name: ieee1275-clear-reset.patch

9 years agoRemove .MIPS.abiflags section from images
Colin Watson [Fri, 26 Sep 2014 09:34:46 +0000 (10:34 +0100)]
Remove .MIPS.abiflags section from images

Recent versions of binutils generate this section, but we don't need it
when producing raw images.

Bug-Debian: https://bugs.debian.org/762307
Forwarded: no
Last-Update: 2014-09-26

Patch-Name: mips-abiflags.patch

9 years agoAdd a new "none" platform that only builds utilities
Colin Watson [Tue, 23 Sep 2014 11:11:58 +0000 (12:11 +0100)]
Add a new "none" platform that only builds utilities

This makes it possible to build generally-useful utilities such as
grub-mount even if the rest of GRUB has not been ported to the target
CPU.

* configure.ac: Add "none" platform.  Default to it for unsupported
CPUs rather than stopping with a fatal error.  Don't downgrade
x86_64-none to i386.  Define COND_real_platform Automake conditional
if the platform is anything other than "none".  Don't do any include
directory linking for "none".
* Makefile.am: Skip building grub-core and all bootcheck targets if
!COND_real_platform.
* include/grub/time.h: Don't include <grub/cpu/time.h> if GRUB_UTIL
is defined.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=5d90f6e533d82abf89f9e1787f90f17f2fab14aa
Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=77063f4cb672f423272db7e21ca448cf3de98dcf
Last-Update: 2014-09-25

Patch-Name: platform-none.patch

9 years agoSkip libgcc dependency for powerpc
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:44:30 +0000 (14:44 -0300)]
Skip libgcc dependency for powerpc

* configure.ac: Add conditions to avoid libgcc dependency.
* Makefile.am: Likewise.
* Makefile.core.def: Include compiler-rt.S and compiler-rt.c.
* compiler-rt.c: New file.
* compiler-rt.S: Likewise.
* compiler-rt.h: Likewise.

Also-By: Brent Baude <bbaude@redhat.com>
Also-By: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00021.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-skip-libgcc.patch

9 years agoAdd powerpc little-endian (ppc64le) flags
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:42:40 +0000 (14:42 -0300)]
Add powerpc little-endian (ppc64le) flags

* configure.ac: Add target for ppc64le (ppc64el).

Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00022.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-flags.patch

9 years agoSupport grub-emu on x32 (ILP32 but with x86-64 instruction set)
Colin Watson [Sun, 7 Sep 2014 22:06:49 +0000 (23:06 +0100)]
Support grub-emu on x32 (ILP32 but with x86-64 instruction set)

* configure.ac: Remove -m64 from checks for -mcmodel=large and
-mno-red-zone.  These are always either unnecessary (x86_64-emu) or
already in TARGET_CFLAGS at this point, and they produce incorrect
results when building for x32.
* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Cast
pointers to Elf64_Xword via grub_addr_t, in order to work on x32.
* include/grub/x86_64/types.h (GRUB_TARGET_SIZEOF_VOID_P,
GRUB_TARGET_SIZEOF_LONG): Define to 4 on x32.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=2a5a532c0047d4eff90175936b220b638cce1013
Bug-Debian: http://bugs.debian.org/760428
Last-Update: 2014-09-07

Patch-Name: x32.patch

9 years agoFix an infinite loop in grub-mkconfig
Colin Watson [Tue, 8 Jul 2014 22:54:30 +0000 (23:54 +0100)]
Fix an infinite loop in grub-mkconfig

* util/grub.d/10_hurd.in: Make kernel list progression not fail on
kernels whose paths contain regex metacharacters.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

Reported by: Heimo Stranner.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=0901e7855f922e770cbfeb58262cb8fded518190
Last-Update: 2014-07-08

Patch-Name: mkconfig-kernels-infloop.patch

9 years agoAdd support for nvme device in grub-mkdevicemap
Dimitri John Ledkov [Tue, 29 Apr 2014 15:45:44 +0000 (16:45 +0100)]
Add support for nvme device in grub-mkdevicemap

Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Debian: https://bugs.debian.org/746396
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1275162
Forwarded: no
Last-Update: 2014-05-08

Patch-Name: probe_nvme.patch

9 years agoincrease network try interval gradually
Paulo Flabiano Smorigo [Tue, 21 Jan 2014 13:03:51 +0000 (11:03 -0200)]
increase network try interval gradually

* grub-core/net/arp.c (grub_net_arp_send_request): Increase network try
interval gradually.
* grub-core/net/icmp6.c (grub_net_icmp6_send_request): Likewise.
* grub-core/net/net.c (grub_net_fs_read_real): Likewise.
* grub-core/net/tftp.c (tftp_open): Likewise.
* include/grub/net.h (GRUB_NET_INTERVAL_ADDITION): New define.

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

Patch-Name: net-ramp-up-interval.patch

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.

Forwarded: no
Last-Update: 2014-09-26

Patch-Name: install_powerpc_machtypes.patch

9 years agoDisable VSX instruction on powerpc startup to fix booting on ppc64el.
Colin Watson [Fri, 26 Sep 2014 10:14:38 +0000 (11:14 +0100)]
Disable VSX instruction on powerpc startup to fix booting on ppc64el.

9 years agoDisable VSX instruction
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 22:33:39 +0000 (19:33 -0300)]
Disable VSX instruction

VSX bit is enabled by default for Power7 and Power8 CPU models,
so we need to disable them in order to avoid instruction exceptions.
Kernel will activate it when necessary.

* grub-core/kern/powerpc/ieee1275/startup.S: Disable VSX.

Also-By: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00078.html
Last-Update: 2014-09-26

Patch-Name: ppc64el-disable-vsx.patch

9 years agoInclude a text attribute reset in the clear command for ppc (LP: #1295255).
Colin Watson [Fri, 26 Sep 2014 10:08:54 +0000 (11:08 +0100)]
Include a text attribute reset in the clear command for ppc (LP: #1295255).

9 years agoInclude a text attribute reset in the clear command for ppc
Paulo Flabiano Smorigo [Thu, 25 Sep 2014 21:41:29 +0000 (18:41 -0300)]
Include a text attribute reset in the clear command for ppc

Always clear text attribute for clear command in order to avoid problems
after it boots.

* grub-core/term/terminfo.c: Add escape for text attribute reset

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html
Last-Update: 2014-09-26

Patch-Name: ieee1275-clear-reset.patch

9 years agoRemove .MIPS.abiflags section from images (thanks, Jurica Stanojkovic, although I...
Colin Watson [Fri, 26 Sep 2014 09:36:15 +0000 (10:36 +0100)]
Remove .MIPS.abiflags section from images (thanks, Jurica Stanojkovic, although I used a slightly simpler approach; closes: #762307).

9 years agoRemove .MIPS.abiflags section from images
Colin Watson [Fri, 26 Sep 2014 09:34:46 +0000 (10:34 +0100)]
Remove .MIPS.abiflags section from images

Recent versions of binutils generate this section, but we don't need it
when producing raw images.

Bug-Debian: https://bugs.debian.org/762307
Forwarded: no
Last-Update: 2014-09-26

Patch-Name: mips-abiflags.patch

9 years agoFix in-tree --platform=none
Colin Watson [Thu, 25 Sep 2014 20:06:24 +0000 (21:06 +0100)]
Fix in-tree --platform=none

9 years agoAdd a new "none" platform that only builds utilities
Colin Watson [Tue, 23 Sep 2014 11:11:58 +0000 (12:11 +0100)]
Add a new "none" platform that only builds utilities

This makes it possible to build generally-useful utilities such as
grub-mount even if the rest of GRUB has not been ported to the target
CPU.

* configure.ac: Add "none" platform.  Default to it for unsupported
CPUs rather than stopping with a fatal error.  Don't downgrade
x86_64-none to i386.  Define COND_real_platform Automake conditional
if the platform is anything other than "none".  Don't do any include
directory linking for "none".
* Makefile.am: Skip building grub-core and all bootcheck targets if
!COND_real_platform.
* include/grub/time.h: Don't include <grub/cpu/time.h> if GRUB_UTIL
is defined.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=5d90f6e533d82abf89f9e1787f90f17f2fab14aa
Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=77063f4cb672f423272db7e21ca448cf3de98dcf
Last-Update: 2014-09-25

Patch-Name: platform-none.patch

9 years agoOn architectures without a real GRUB port, just build the utilities
Colin Watson [Tue, 23 Sep 2014 11:12:59 +0000 (12:12 +0100)]
On architectures without a real GRUB port, just build the utilities

This makes tools such as grub-probe and grub-fstest available
everywhere, and makes grub-mount available on all Linux and kFreeBSD
architectures.

9 years agoAdd a new "none" platform that only builds utilities
Colin Watson [Tue, 23 Sep 2014 11:11:58 +0000 (12:11 +0100)]
Add a new "none" platform that only builds utilities

This makes it possible to build generally-useful utilities such as
grub-mount even if the rest of GRUB has not been ported to the target
CPU.

* configure.ac: Add "none" platform.  Default to it for unsupported
CPUs rather than stopping with a fatal error.  Don't downgrade
x86_64-none to i386.  Define COND_real_platform Automake conditional
if the platform is anything other than "none".  Don't do any include
directory linking for "none".
* Makefile.am: Skip building grub-core and all bootcheck targets if
!COND_real_platform.
* include/grub/time.h: Don't include <grub/cpu/time.h> if GRUB_UTIL
is defined.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=5d90f6e533d82abf89f9e1787f90f17f2fab14aa
Last-Update: 2014-09-23

Patch-Name: platform-none.patch

9 years agoreleasing package grub2 version 2.02~beta2-13
Colin Watson [Fri, 19 Sep 2014 19:33:37 +0000 (20:33 +0100)]
releasing package grub2 version 2.02~beta2-13

9 years agoDrop gcc-4.9-multilib build-dependency on ppc64el again.
Colin Watson [Fri, 19 Sep 2014 19:30:23 +0000 (20:30 +0100)]
Drop gcc-4.9-multilib build-dependency on ppc64el again.

9 years agoreleasing package grub2 version 2.02~beta2-12
Colin Watson [Fri, 19 Sep 2014 17:21:09 +0000 (18:21 +0100)]
releasing package grub2 version 2.02~beta2-12

9 years agoApply patches from Paulo Flabiano Smorigo to allow building a 32-bit big-endian loade...
Colin Watson [Fri, 19 Sep 2014 14:17:31 +0000 (15:17 +0100)]
Apply patches from Paulo Flabiano Smorigo to allow building a 32-bit big-endian loader on ppc64el using -m32 -mbig-endian, replacing the cross-compiler hack.

9 years agoSkip libgcc dependency for powerpc
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:44:30 +0000 (14:44 -0300)]
Skip libgcc dependency for powerpc

* configure.ac: Add conditions to avoid libgcc dependency.
* Makefile.am: Likewise.
* Makefile.core.def: Include compiler-rt.S and compiler-rt.c.
* compiler-rt.c: New file.
* compiler-rt.S: Likewise.
* compiler-rt.h: Likewise.

Also-By: Brent Baude <bbaude@redhat.com>
Also-By: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00021.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-skip-libgcc.patch

9 years agoAdd powerpc little-endian (ppc64le) flags
Paulo Flabiano Smorigo [Wed, 17 Sep 2014 17:42:40 +0000 (14:42 -0300)]
Add powerpc little-endian (ppc64le) flags

* configure.ac: Add target for ppc64le (ppc64el).

Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00022.html
Last-Update: 2014-09-19

Patch-Name: ppc64el-flags.patch

9 years agoAdd dependency on efibootmgr to grub-efi-{arm,arm64}-bin.
Ian Campbell [Thu, 4 Sep 2014 18:04:07 +0000 (19:04 +0100)]
Add dependency on efibootmgr to grub-efi-{arm,arm64}-bin.

Needed by grub-install.

9 years agoAdjust packaging for x32.
Colin Watson [Sun, 7 Sep 2014 22:16:58 +0000 (23:16 +0100)]
Adjust packaging for x32.

- Build-depend on cpio on x32 as well.
- Make grub-efi-ia32-bin and grub-efi-amd64-bin depend on efibootmgr on
  any Linux architecture for which they are built (in practice, adding
  x32).
- Build grub-mount-udeb on x32 as well.
- Add Lintian binary-from-other-architecture overrides where
  appropriate.

9 years agoSupport grub-emu on x32 (closes: #760428).
Colin Watson [Sun, 7 Sep 2014 22:14:38 +0000 (23:14 +0100)]
Support grub-emu on x32 (closes: #760428).

9 years agoSupport grub-emu on x32 (ILP32 but with x86-64 instruction set)
Colin Watson [Sun, 7 Sep 2014 22:06:49 +0000 (23:06 +0100)]
Support grub-emu on x32 (ILP32 but with x86-64 instruction set)

* configure.ac: Remove -m64 from checks for -mcmodel=large and
-mno-red-zone.  These are always either unnecessary (x86_64-emu) or
already in TARGET_CFLAGS at this point, and they produce incorrect
results when building for x32.
* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Cast
pointers to Elf64_Xword via grub_addr_t, in order to work on x32.
* include/grub/x86_64/types.h (GRUB_TARGET_SIZEOF_VOID_P,
GRUB_TARGET_SIZEOF_LONG): Define to 4 on x32.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=2a5a532c0047d4eff90175936b220b638cce1013
Bug-Debian: http://bugs.debian.org/760428
Last-Update: 2014-09-07

Patch-Name: x32.patch

9 years agoPoint Vcs-* fields back at master.
Colin Watson [Tue, 19 Aug 2014 12:20:01 +0000 (13:20 +0100)]
Point Vcs-* fields back at master.

9 years agoreleasing package grub2 version 2.02~beta2-11
Colin Watson [Thu, 24 Jul 2014 10:10:37 +0000 (11:10 +0100)]
releasing package grub2 version 2.02~beta2-11

9 years agoOn upgrade, if we find that one of the install devices no longer exists, ask the...
Colin Watson [Sun, 20 Jul 2014 20:51:52 +0000 (21:51 +0100)]
On upgrade, if we find that one of the install devices no longer exists, ask the debconf question at priority critical rather than high.

9 years agoFix an infinite loop in grub-mkconfig when kernel paths contain regex metacharacters...
Colin Watson [Tue, 8 Jul 2014 22:58:31 +0000 (23:58 +0100)]
Fix an infinite loop in grub-mkconfig when kernel paths contain regex metacharacters.  Thanks to Heimo Stranner for the report.

9 years agoFix an infinite loop in grub-mkconfig
Colin Watson [Tue, 8 Jul 2014 22:54:30 +0000 (23:54 +0100)]
Fix an infinite loop in grub-mkconfig

* util/grub.d/10_hurd.in: Make kernel list progression not fail on
kernels whose paths contain regex metacharacters.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

Reported by: Heimo Stranner.

Origin: upstream, http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commitdiff;h=0901e7855f922e770cbfeb58262cb8fded518190
Last-Update: 2014-07-08

Patch-Name: mkconfig-kernels-infloop.patch

9 years agoBuild for sparc64 (closes: #753784).
Colin Watson [Mon, 7 Jul 2014 13:39:09 +0000 (14:39 +0100)]
Build for sparc64 (closes: #753784).

10 years agoBuild with GCC 4.9 (closes: #748003).
Colin Watson [Tue, 17 Jun 2014 12:28:49 +0000 (13:28 +0100)]
Build with GCC 4.9 (closes: #748003).

10 years agoForce grub-pc/mixed_legacy_and_grub2 to be reshown, rather than failing when it was...
Colin Watson [Wed, 28 May 2014 09:00:58 +0000 (10:00 +0100)]
Force grub-pc/mixed_legacy_and_grub2 to be reshown, rather than failing when it was already seen (closes: #749571).

10 years agoreleasing package grub2 version 2.02~beta2-10
Colin Watson [Thu, 8 May 2014 11:42:58 +0000 (12:42 +0100)]
releasing package grub2 version 2.02~beta2-10

10 years agoAdd NVMe support to grub_util_part_to_disk.
Colin Watson [Thu, 8 May 2014 10:11:57 +0000 (11:11 +0100)]
Add NVMe support to grub_util_part_to_disk.

10 years agoAdd support for nvme device in grub-mkdevicemap
Dimitri John Ledkov [Tue, 29 Apr 2014 15:45:44 +0000 (16:45 +0100)]
Add support for nvme device in grub-mkdevicemap

Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Debian: https://bugs.debian.org/746396
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1275162
Forwarded: no
Last-Update: 2014-05-08

Patch-Name: probe_nvme.patch

10 years agoAdd support for nvme device in grub-mkdevicemap (closes: #746396, LP: #1275162).'
Colin Watson [Thu, 8 May 2014 10:02:18 +0000 (11:02 +0100)]
Add support for nvme device in grub-mkdevicemap (closes: #746396, LP: #1275162).'

10 years agoAdd support for nvme device in grub-mkdevicemap
Dimitri John Ledkov [Tue, 29 Apr 2014 15:45:44 +0000 (16:45 +0100)]
Add support for nvme device in grub-mkdevicemap

Bug-Debian: https://bugs.debian.org/746396
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1275162
Forwarded: no
Last-Update: 2014-05-08

Patch-Name: probe_nvme.patch

10 years agoCommit 8317ce83867892a982cb19f6e41231aed7563c83 closes: #746856.
Colin Watson [Mon, 5 May 2014 12:23:35 +0000 (13:23 +0100)]
Commit 8317ce83867892a982cb19f6e41231aed7563c83 closes: #746856.

10 years agoBackport patches from upstream to make the network stack more responsive on busy...
Colin Watson [Tue, 29 Apr 2014 10:03:55 +0000 (11:03 +0100)]
Backport patches from upstream to make the network stack more responsive on busy networks (LP: #1314134).

10 years agoincrease network try interval gradually
Paulo Flabiano Smorigo [Tue, 21 Jan 2014 13:03:51 +0000 (11:03 -0200)]
increase network try interval gradually

* grub-core/net/arp.c (grub_net_arp_send_request): Increase network try
interval gradually.
* grub-core/net/icmp6.c (grub_net_icmp6_send_request): Likewise.
* grub-core/net/net.c (grub_net_fs_read_real): Likewise.
* grub-core/net/tftp.c (tftp_open): Likewise.
* include/grub/net.h (GRUB_NET_INTERVAL_ADDITION): New define.

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

Patch-Name: net-ramp-up-interval.patch

10 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