Re: RFC: A partition for grubenv, etc.

2021-05-27 Thread Michael Chang via Grub-devel
On Wed, May 26, 2021 at 08:36:05PM -0600, Chris Murphy wrote: > On Wed, May 26, 2021 at 3:17 AM Michael Chang via Grub-devel > wrote: > > > > On Tue, May 25, 2021 at 04:58:23PM -0600, Chris Murphy wrote: > > > Hi, > > > > > > It's not possible for GRUB pre-boot environment to write to grubenv > >

Re: [PATCH v3] grub-core: Build fixes for i386

2021-05-27 Thread Daniel Kiper
On Wed, May 26, 2021 at 08:18:24PM +0200, Jan (janneke) Nieuwenhuizen wrote: > This fixes cross-compiling to x86 (e.g., the Hurd) from x86-linux of > > grub-core/lib/i386/relocator64.S > > This file has six sections that only build with a 64-bit assembler, > yet only the first two sections had

Re: [PATCH v2] grub-core: Build fixes for i386

2021-05-27 Thread Daniel Kiper
On Wed, May 26, 2021 at 08:18:11PM +0200, Jan Nieuwenhuizen wrote: > Daniel Kiper writes: [...] > >> * grub-core/lib/i386/relocator64.S: Avoid x86_64 instructions on i386. > > > > Hmmm... What is this? > > The "gitlog-to-changelog" scripts needs entries like this in order to > generate a GNU-comp

Re: [PATCH 0/3] A few small OpenBSD-ish fixes

2021-05-27 Thread Daniel Kiper
Hi Jacob, On Tue, May 18, 2021 at 10:14:12PM -0700, jacob berkman wrote: > Hello, > > I built GRUB on OpenBSD 6.9 over the weekend, and ran into a few > issues. The minor ones attached were easy enough to > fix. Unfortunately, once installed, it merely prints "Grub Loading" > (or something similar

Re: GRUB loader support for RISC-V Linux

2021-05-27 Thread Daniel Kiper
Hi Nikita, On Wed, May 19, 2021 at 06:26:42PM +0300, Nikita Ermakov wrote: > Hi! > > I'm sorry for such a long delay. No worries. We are still busy with the release... > I rebased Ard's patches to the current master branch and then rebased > Atish's patches on top of the Ard's patches. It almost

Re: RFC: A partition for grubenv, etc.

2021-05-27 Thread Luiz Angelo Daros de Luca
This was already discussed in this ML a couple of times. It is not uncommon for some FS to have an unused header space. This happens for btrfs and SUSE patches grub2 to use it: https://build.opensuse.org/package/view_file/openSUSE:Factory/grub2/grub2-grubenv-in-btrfs-header.patch?expand=1. It is a

Re: RFC: A partition for grubenv, etc.

2021-05-27 Thread Chris Murphy
On Thu, May 27, 2021 at 2:59 AM Michael Chang wrote: > > On Wed, May 26, 2021 at 08:36:05PM -0600, Chris Murphy wrote: > > So is the next era going to be we recommend /boot on FAT? > > No. I meant a new partition type only for grubenv files and keep > everything else as is. The filesystem can be e

Re: RFC: A partition for grubenv, etc.

2021-05-27 Thread Chris Murphy
On Thu, May 27, 2021 at 12:49 PM Luiz Angelo Daros de Luca wrote: > > My proposal would be an additional source for grubenv. SUSE still uses > the FS /boot/grub2/grubenv to store a > env_block variable (as well as other variables) that, if present, will > point to where an additional grubenv shoul

Re: RFC: A partition for grubenv, etc.

2021-05-27 Thread Michael Chang via Grub-devel
On Thu, May 27, 2021 at 03:49:14PM -0300, Luiz Angelo Daros de Luca wrote: > This was already discussed in this ML a couple of times. > > It is not uncommon for some FS to have an unused header space. This > happens for btrfs and SUSE patches grub2 to use it: > https://build.opensuse.org/package/v