Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Query exception for grub ??

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Query exception for grub ??
  • Date: Sun, 13 Mar 2005 23:04:01 +0100

On Sun, Mar 13, 2005 at 10:46:59PM +0100, Flavien Bridault wrote:
> Hi folks,
>
> Andrew recently highlighted a problem in current grub spell [0]. The
> user is prompted in FINAL to determine if he wants or not to
> edit /boot/grub/menu.lst
> First thing, it should not be done in FINAL. But that's not why I bring
> this bug to you.
> The problem is that the prompt is made with a config_query. Andrew
> argued that this is really annoying because one doesn't want to store
> this setting. If one wants to edit it one time, and then do not edit,
> the user has to cast -r -c, which is quite long especially with this
> spell ;-)
> A simple query would solve the problem, and that is what is was done
> primarily. But I recently changed that according to our holy roadmap ;-)
> [1] where it is said that :
>
> "All spells use config_query instead of query and/or read"
>
> So, can I make a exception for this stuff or not ??
>
> Any thoughts ?? :-)
>
> [0] http://bugs.sourcemage.org/show_bug.cgi?id=8404
> [1] http://wiki.sourcemage.org/index.php?page=SourceMageRoadMap

Definitely use query for this, not config_query. config_query is meant
for questions that _configure_ the spell, not for every random question.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page