On Mon, Sep 06, Vladimir 'phcoder' Serbinenko wrote: > Le lun. 6 sept. 2021 à 12:49, Olaf Hering <o...@aepfle.de> a écrit : > For some reason global variables are not seen in a submenu {} section. > Does anyone happen to know why this behavior is useful? > You need to export variable to make it visible in submenu
Thanks. This was less than obvious. I did not expect a command named 'export' in the context of grub. The documentation needs to be updated to state what the difference between 'set key=val', 'export key=val' and plain 'key=val' actually is. Olaf _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel