URL:
<https://savannah.gnu.org/bugs/?61368>
Summary: menuentry statement should unset variable chosen,
unless enclosed in submenu statement
Project: GNU GRUB
Submitted by: ulfzibis
Submitted on: Fri 22 Oct 2021 02:35:55 PM UTC
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release:
Release: other
Discussion Lock: Any
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Hi,
in GRUB configuration there can exist the 2 following situations:
submenu AAA {
menuentry BBB {
}
}
or:
menuentry AAA {
menuentry BBB {
}
}
In the latter situation, the inner menuentry statement should first unset
variable chosen, otherwise saved_entry from GRUB environment block will not
work as expected.
For more details, please read this discussion:
https://lists.gnu.org/archive/html/help-grub/2021-10/msg00004.html
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61368>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/