[PATCH v4 0/1] enable checkers on grub-module-verifierxx

2022-10-04 Thread Robbie Harwood
Address Daniel's comments on previous version. In particular, gcc (Debian 12.2.0-3) only warns when the redefinition is to a different value. It gets confused by the space, so just remove it. This causes gcc -x c -fsyntax-only -Iinclude -I. util/grub-module-verifierXX.c to build without war

[PATCH v4 1/1] grub-module-verifierxx.c: enable running standalone checkers

2022-10-04 Thread Robbie Harwood
From: Peter Jones Allow treating grub-module-verifierxx.c as a file you can build directly so syntax checkers like vim's "syntastic" plugin, which uses "gcc -x c -fsyntax-only" to build it, will work. One still has to do whatever setup is required to make it pick the right include dirs, which -I

[PATCH v4 1/1] Add support for grub-emu to kexec Linux menu entries

2022-10-04 Thread Robbie Harwood
From: Raymund Will The GRUB emulator is used as a debugging utility but it could also be used as a user-space bootloader if there is support to boot an operating system. The Linux kernel is already able to (re)boot another kernel via the kexec boot mechanism. So the grub-emu tool could rely on

[PATCH v4 0/1] Add support for grub-emu to kexec Linux menu entries

2022-10-04 Thread Robbie Harwood
Address feedback from Raymund's review. Interdiff attached. Be well, --Robbie Raymund Will (1): Add support for grub-emu to kexec Linux menu entries grub-core/Makefile.am| 1 + grub-core/Makefile.core.def | 2 +- grub-core/kern/emu/main.c| 4 + grub-core/kern/emu/misc.c

Re: Automatically detecting empty configuration variables

2022-10-04 Thread Didier Spaier
Le 04/10/2022 à 13:28, Alberto Salvia Novella a écrit : > Greetings boyos! > > I have developed a grub configuration file that, instead of asking the user > manually setting all the grub variables, it figures them out by itself > automatically. > > The file looks like this: > https://pastebin.com

Automatically detecting empty configuration variables

2022-10-04 Thread Alberto Salvia Novella
Greetings boyos! I have developed a grub configuration file that, instead of asking the user manually setting all the grub variables, it figures them out by itself automatically. The file looks like this: https://pastebin.com/CUGHnckJ I was wondering if that logic could be included in GRUB C cod