~ubuntu-core-dev/grub/+git/ubuntu:feature/initrd-less-boot-with-fallback-cleanup

Last commit made on 2018-03-10
Get this branch:
git clone -b feature/initrd-less-boot-with-fallback-cleanup https://git.launchpad.net/~ubuntu-core-dev/grub/+git/ubuntu
Members of Ubuntu Core Development Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
feature/initrd-less-boot-with-fallback-cleanup
Repository:
lp:~ubuntu-core-dev/grub/+git/ubuntu

Recent commits

c1aa0eb... by Steve Langasek

merge patched-feature/initrd-less-boot-with-fallback into feature/initrd-less-boot-with-fallback

4f00c0e... by Chris Glass

Added initrd-less boot capabilities.

In case the kernel fails to boot without an initrd, grub will fallback
to trying to boot the kernel with an initrd.

Signed-off-by: Steve Langasek <email address hidden>

Patch-Name: add-initrd-less-boot-fallback.patch

0765223... by Steve Langasek

use dh_systemd to enable the initrd fallback handling unit

440d191... by Steve Langasek

Install our new systemd unit in grub-common.

0784830... by phcoder

yylex: Explicilty cast fprintf to void.

It's needed to avoid warning on recent GCC.

Patch-Name: yylex-explicitly_cast_fprintf_to_void.patch

bc78a6b... by Mathieu Trudel-Lapierre

video: skip 'text' gfxpayload if not supported, to fallback to default

On UEFI, 'text' gfxpayload is not supported, but we still reach parse_modespec
with it, which will obviously fail. Fortunately, whatever gfxpayload is set,
we still still have the 'auto' default to fall back to. Allow getting to this
fallback by not trying to parse 'text' as a modespec.

This is because 'text' correctly doesn't parse as a modespec, and ought to have
been ignored before we got to that point, just like it is immediately picked if
we're running on a system where 'text' is a supported video mode.

Signed-off-by: Mathieu Trudel-Lapierre <email address hidden>

Patch-Name: skip_text_gfxpayload_where_not_supported.patch

f66f180... by Julian Andres Klode

Show only upstream version, hide rest in package_version variable

The complete package version can get a bit long, so only show the
upstream version in the menu and on the top of the console, and
hide the complete version in a package_version variable.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1723434
Last-Updated: 2018-02-08

Patch-Name: shorter_version_info.patch

29e9d76... by Steve Langasek

Don't use arbitrary file sizes as block sizes in bufio

When grub_bufio_open() is called with a buffer size greater than the size
of the file being buffered, it clamps the buffer size to the file size.
This seems sensible on the surface to avoid over-allocating memory, but
grub_bufio_read() also assumes that ~(block_size-1) gives a sensible
mask value... which is only true for power of 2 block sizes, not for
random file sizes.
If the file we're buffering is on tftp, we get particularly pathological
results because we wind up seeking backwards which requires re-requesting
the file from the tftp server - even though the whole file fit in a single
udp packet much smaller than the default buffer size.

Signed-off-by: Mathieu Trudel-Lapierre <email address hidden>

Author: Steve Langasek <email address hidden>
Forwarded: no
Last-Update: 2016-11-01
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1743249
Patch-Name: bufio_sensible_block_sizes.patch

d80aabd... by David Box

tsc: Change default tsc calibration method to pmtimer on EFI systems

On efi systems, make pmtimer based tsc calibration the default over the
pit. This prevents Grub from hanging on Intel SoC systems that power gate
the pit.

Signed-off-by: David E. Box <email address hidden>
Reviewed-by: Daniel Kiper <email address hidden>

Origin: upstream, https://git.savannah.gnu.org/cgit/grub.git/commit/?id=446794de8da4329ea532cbee4ca877bcafd0e534
Bug-Debian: https://bugs.debian.org/883193
Last-Update: 2017-12-01

Patch-Name: tsc_efi_default_to_pmtimer.patch

6b8dd59... by Mathieu Trudel-Lapierre

Don't fail build on some warnings we know might show up building linuxefi

Specifically:
  -Wno-error=format=
  -Wno-error=cast-align
  -Wno-error=int-to-pointer-cast
  -Wno-error=pointer-to-int-cast
  -Wno-error=unused-parameter

There are a few cases where we legitimately cast to memory that is bigger
than we need when building on one arch, because on a different arch it will
be just right. For example, grub_status_t can be int32 or int64, depending
on the size of void*.

Signed-off-by: Mathieu Trudel-Lapierre <email address hidden>

Forwarded: no
Last-Updated: 2017-11-01
Patch-Name: dont-fail-efi-warnings.patch