On Thu, Oct 02, 2025 at 02:46:21PM +0800, Michael Chang via Grub-devel wrote: > This patch extends the generated grub.cfg so that it can use the > external environment block when the variable env_block is defined. > During boot, if env_block is set, grub.cfg builds a device path for it, > exports the variable, and then loads its contents in addition to the > normal grubenv file. > > When GRUB writes variables such as next_entry or saved_entry, the save > commands are changed to write into env_block if it is set, and to fall > back to the grubenv file otherwise. In this way the external environment > block is used automatically, and existing commands like savedefault or > save_env do not need to change. > > Signed-off-by: Michael Chang <[email protected]> > Reviewed-by: Neal Gompa <[email protected]>
Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
