grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] save_env variable_name=value


From: Pavel Roskin
Subject: Re: [PATCH] save_env variable_name=value
Date: Sun, 13 Sep 2009 01:14:06 -0400

On Sat, 2009-09-12 at 09:54 -0500, address@hidden wrote:
> On Fri, Sep 11, 2009 at 4:43 PM, Pavel Roskin <address@hidden> wrote:
> > I don't see how grub-mkconfig could compensate for a missing feature in
> > save_env.  Perhaps I'm missing the context here.
> 
> AFAICT, it's grub.cfg that has to work around using two commands instead of 
> one.

Yes, if we want to keep backward compatibility with older modules.

> Therefore grub-mkconfig has to generate a longer grub.cfg (not sure
> how this makes grub-mkconfig uglier), but that's an incomplete
> assessment.  There's also a different burden placed on user-edited
> configs and usage of the grub console, correct?

Correct.

> I don't think that the suggestion was meant to save a few bytes in
> grub-mkconfig.  I think it was suggesting a nicer interface for users
> working in the console.

Yes.  Also, grub-mkconfig could use it once we decide to break backward
compatibility with the last version that didn't support save_env with a
name.

-- 
Regards,
Pavel Roskin




reply via email to

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