[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30506] savedefault only for non-recovery menuentries

From: Mario 'BitKoenig' Holbe
Subject: [bug #30506] savedefault only for non-recovery menuentries
Date: Thu, 22 Jul 2010 12:27:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2010062510 Iceweasel/3.0.6 (Debian-3.0.6-3)

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
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

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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]