Follow-up Comment #1, bug #30506 (project grub): The attached patch implements "no savedefault for recovery menuentries" in a configurable way.
The default behaviour is not changed by the patch. The patch introduces a new config variable GRUB_DONT_SAVEDEFAULT_RECOVERY, which, if set, prevents recovery entries from being saved as default boot entry. The variable name is somewhat bulky, but if I got it right, the grub config style is more to set some variable to true to produce an effect than to set one to false to prevent an effect. So, I hope it copes with grub-style this way. The patch further augments the interface of save_default_entry() in a backwards compatible manner to tell it whether the current entry is a recovery entry or not. All users of save_default_entry() have been changed to the new interface - also in the cases where it would not really have been necessary to do so. (file #21034) _______________________________________________________ Additional Item Attachment: File name: grub+savedefault-unless-recovery.patch Size:5 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30506> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub