Enable GRUB UKI menu entries - #4139
Conversation
|
A problem here is if more than one kernel is installed there will be multiple "Arch Linux" entries in the menu with the edit option being the only way to distinguish them. The menu title comes from the /*
* Although .osrel is listed as optional in the UKI specification, the .osrel
* section is needed to generate the GRUB menu entry title.
*/
osrel = blsuki_get_val (entry, ".osrel", NULL);
if (osrel == NULL)
{
grub_dprintf ("blsuki", "Skipping file %s with no '.osrel' key.\n", entry->filename);
goto finish;
}
osrel_line = osrel;
while ((key = uki_read_osrel (&osrel_line, &value)) != NULL)
{
if (grub_strcmp ("PRETTY_NAME", key) == 0)
{
title = value;
break;
}
}This could be alleviated by using recall previous entry with the addition of the following command. Edit: |
|
I suppose that's fine for now and we can improve that in the future |
|
Maybe someone will see this and update the GRUB ArchWiki article. The With this pull request the
|
No description provided.