~juliank/grub/+git/ubuntu:ubuntu-bionic

Last commit made on 2020-03-11
Get this branch:
git clone -b ubuntu-bionic https://git.launchpad.net/~juliank/grub/+git/ubuntu
Only Julian Andres Klode can upload to this branch. If you are Julian Andres Klode please log in for upload directions.

Branch merges

Branch information

Name:
ubuntu-bionic
Repository:
lp:~juliank/grub/+git/ubuntu

Recent commits

36f75bb... by Julian Andres Klode

change version to 2.02-2ubuntu8.2 (UNRELEASED)
Make the linux command in EFI grub always try EFI handover; thanks
to Chris Coulson for the patches (LP: #1864533)

3e72946... by Chris Coulson

ubuntu: Update the linux boot protocol version check.

The EFI implementation of grub_cmd_linux makes use of xloadflags which was
introduced in to version 2.12 of the kernel's boot protocol, so update the
check accordingly.

9673771... by Chris Coulson

ubuntu: Make the linux command in EFI grub always try EFI handover

The previous implementation only boots via the EFI handover protocol when
secure boot is enabled. This means that disabling secure boot breaks some
features that depend on the kernel being booted via the EFI handover entry
point, such as retrieval of the TCG event log.

Update the linux command to always attempt to defer to linuxefi in EFI grub
builds, regardless of whether secure boot is enabled or not. This also allows
a fallback to the non-EFI handover path on kernels that don't support it, but
only if secure boot is disabled.

[<email address hidden>: Rebased against bionic grub]

cae1223... by Julian Andres Klode

Import grub2 2.02-2ubuntu8.1

4c62c86... by Ɓukasz Zemczak

Add an auto-nvram option to grub-install for auto-detecting NVRAM

 access

This adds the auto-nvram functionality of only attempting the NVRAM
variable update if the system has access to those. Useful for dual
BIOS-EFI devices.

c3035a9... by Julian Andres Klode

Import grub2_2.02-2ubuntu8.1.dsc

e773fd0... by phcoder

yylex: Explicilty cast fprintf to void.

It's needed to avoid warning on recent GCC.

d90b76b... 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>

8651f37... 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

b35666d... 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