On Sun, Oct 22, 2006 at 10:07:44PM +0000, Thorsten Glaser wrote:
> [EMAIL PROTECTED] dixit:
> 
> >i.e. grouping config options from different places in a `choice' like
> >manner, forcing selection of (at least) one of them, the definition of
>                                ^^^^^^^^
> This should read "at most", not "at least", of course.

Yes, in terms of conflicting packages. So combined it probably should be
"selection of exactly one" ;)

> But that then breaks the as-module options. How about someone wants
> to build one into the image and one as module?
> 
> I still don't see the correct approach, even when not looking at the
> implementation.

The situation you mentioned is not covered by mconfig. Even with
optional tristate choices, selecting "yes" is done exclusively.

> My suggestion would just be a preselected list copying as .config...

Why not implementing a little more intelligent solution making heavy use
of `sed'? `cp' means overwriting the user's config each time. Moving 
.config to .config.old is maybe also an alternative. The plus in using
`sed' is that only little effort is needed to make the package
collections easily extensible, or at least more simple than editing
.config by hand.

Greetings, Phil

_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to