~beidl/grub/+git/ubuntu:sil2100/auto-nvram

Last commit made on 2018-04-19
Get this branch:
git clone -b sil2100/auto-nvram https://git.launchpad.net/~beidl/grub/+git/ubuntu
Only Alfred E. Neumayer can upload to this branch. If you are Alfred E. Neumayer please log in for upload directions.

Branch merges

Branch information

Name:
sil2100/auto-nvram
Repository:
lp:~beidl/grub/+git/ubuntu

Recent commits

0ef4190... by Łukasz Zemczak

Upstream prefers ignoring the no-NVRAM access silently.

7b18c6e... by Łukasz Zemczak

Fix a typo due to cherry-picking. Add the missing auto-nvram check for ieee1275.

2f6a006... by Łukasz Zemczak

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

e209ab1... by dann frazier

releasing package grub2 version 2.02-2ubuntu8

bc351f8... by dann frazier

debian/patches/yylex-explicitly_cast_fprintf_to_void.patch: Fix FTBFS
with flex 2.6.4:

grub_script.yy.c: In function ‘yy_fatal_error’:
grub_script.yy.c:19:22: error: statement with no effect [-Werror=unused-value]
 #define fprintf(...) 0
                      ^
grub_script.yy.c:2367:2: note: in expansion of macro ‘fprintf’
  fprintf( stderr, "%s\n", msg );
  ^~~~~~~
cc1: all warnings being treated as errors

4a2879d... 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

af19011... by dann frazier

Drop debian/patches/mkconfig_keep_native_term_active.patch

It can lead to flickering between graphical and text mode when traversing the
menu. (LP: #1752767)

93befb2... 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

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

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