[PATCH 2/2] Add net_set_vlan command

2022-03-04 Thread Chad Kimes via Grub-devel
Previously there was no way to set the 802.1Q VLAN identifier, despite support for vlantag in the net module. The only location vlantag was being populated was from PXE boot and only for Open Firmware hardware. This commit allows users to manually configure VLAN information for any interface.

[PATCH 1/2] Add vlan information to net_ls_addr output

2022-03-04 Thread Chad Kimes via Grub-devel
Example output: grub> net_ls_addr efinet1 00:11:22:33:44:55 192.168.0.100 vlan100 Signed-off-by: Chad Kimes --- grub-core/net/net.c | 18 +- include/grub/net.h | 8 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/grub-core/net/net.c

Re: [PATCH v8 0/6] Update gnulib version and drop most gnulib patches

2022-03-04 Thread Glenn Washburn
On Wed, 2 Mar 2022 14:08:23 -0500 Robbie Harwood wrote: > Changes this version: > > - Reorder last two commits so that warning fixes come after the change that > introduces them. > - Fix comment formatting to comply with grub2 style. Either I missed it before or something changed. But I'm

Re: Minimum compiler version (was: Re: [PATCH v5 0/4] Update gnulib and drop some patches)

2022-03-04 Thread Daniel Kiper
On Mon, Feb 28, 2022 at 12:24:50PM -0500, Robbie Harwood wrote: > Glenn Washburn writes: > > > GCC 5.1.0 looks like it came out on April 22, 2015[1] and 5.2 was used > > in Ubuntu Xenial from 2016 (which is no longer supported). At what > > point do we bump up the minimum supported version? And

Re: [PATCH 1/2] EFI: console: Do not set colorstate until the first text output

2022-03-04 Thread Daniel Kiper
On Fri, Mar 04, 2022 at 11:30:13AM +0100, Hans de Goede wrote: > Hi Daniel, > > On 1/28/22 12:43, Hans de Goede wrote: > > GRUB_MOD_INIT(normal) does an unconditional: > > > > grub_env_set ("color_normal", "light-gray/black"); > > > > which triggers a grub_term_setcolorstate() call. The original

Re: [PATCH v8 4/6] Drop gnulib no-abort.patch

2022-03-04 Thread Daniel Kiper
On Fri, Mar 04, 2022 at 11:40:10AM -0600, Glenn Washburn wrote: > On Thu, 03 Mar 2022 13:47:29 -0500 > Robbie Harwood wrote: > > Glenn Washburn writes: > > > Robbie Harwood wrote: [...] > > For completeness, here's what happens if one just defines to grub_abort > > without further

[PATCH v8] Fix various new autotools warnings

2022-03-04 Thread Robbie Harwood
Signed-off-by: Robbie Harwood --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 6a8ae668d..46b976562 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,7 @@ dnl description of the relationships between them.

Re: [PATCH v8 4/6] Drop gnulib no-abort.patch

2022-03-04 Thread Glenn Washburn
On Thu, 03 Mar 2022 13:47:29 -0500 Robbie Harwood wrote: > Glenn Washburn writes: > > > Robbie Harwood wrote: > > > >> If you have a patch that makes this work, I don't have a problem with > >> it. However, I was unable to make that work in practice. > > > > Can you provide some specifics on

[PATCH] net: check against nb->tail in grub_netbuff_pull

2022-03-04 Thread Daniel Axtens
GRUB netbuff structure members track 2 different things: the extent of memory allocated for the packet, and the extent of memory currently being worked on. This works out in the structure as follows: nb->head: beginning of the allocation nb->data: beginning of the working data nb->tail: end

Re: [PATCH 1/2] EFI: console: Do not set colorstate until the first text output

2022-03-04 Thread Hans de Goede
Hi Daniel, On 1/28/22 12:43, Hans de Goede wrote: > GRUB_MOD_INIT(normal) does an unconditional: > > grub_env_set ("color_normal", "light-gray/black"); > > which triggers a grub_term_setcolorstate() call. The original version > of the "efi/console: Do not set text-mode until we actually need

Re: [PATCH 0/2] EFI/menu: Do not print messages when autobooting with TIMEOUT_STYLE_HIDDEN

2022-03-04 Thread Hans de Goede
Hi Daniel, On 1/28/22 11:30, Hans de Goede wrote: > Hi All, > > This series in essence is a renewed attempt to get grub to really > be truly hidden when autobooting with TIMEOUT_STYLE_HIDDEN. > > This is something which multiple big Linux distributions want, > this is a minimized version of my