On 19/05/14 12:38, Lars Wirzenius wrote:
On Mon, May 19, 2014 at 10:55:09AM +0100, Daniel Silverstone wrote:
> On Mon, May 19, 2014 at 10:45:23 +0100, Paul Sherwood wrote:
>> With chunk splitting etc could we cause this to be present at build but
>> removed from targets? Would things still work? Otherwise the safer
>> option would seem to be to stick with the older version - i expect
>> postgres would work with that version
>
> Splitting would result in a number of un-runnable binaries which linked to the
> readline library. The older GPLv2 library seems like the right solution if we
> wish to keep compatibility with GENIVI.
Alternatively, we build readline-less GENIVI but put readline into
other systems where the GPL3 licence is not a problem. readline is
mainly useful on systems with interactive users, e.g., people who log
in via the console or ssh and use the command line: bash, python,
postgres, sqlite3, etc.
Our morphologies don't currently support doing that very easily: you'd
have to fork a lot of things for this. However, we probably should
make morphologies powerful enough to be able to express this kind of
smallish variation easily.
I think on a few occasions we've discussed having some way for
configuration to flow up from the system/strata level to chunks - this
would be a perfect application ;)
A pretty simple implementation would be some way to set variables at the
system/strata level, and some way to utilise or switch on the content of
those variables in chunks.
Rob