[PATCH 2/4] Add envblk reading/writing functionality to GRUB

2020-02-25 Thread Paul Dagnelie
We leverage the grub envblk file and fs functions to read from and write to the envblk. We also tweak the editenv code by factoring out the logic that creates the buffer with the envblk contents so it can be reused. We also add the grubenv_src variable, which can be used to force grub to load the

Re: [PATCH 2/4] Add envblk reading/writing functionality to GRUB

2020-03-03 Thread Daniel Kiper
On Tue, Feb 25, 2020 at 11:26:41AM -0800, Paul Dagnelie wrote: > We leverage the grub envblk file and fs functions to read from and > write to the envblk. We also tweak the editenv code by factoring out > the logic that creates the buffer with the envblk contents so it can > be reused. The commit