Re: <rant>the current yocto FAQ is pretty much valueless</rant>

Robert P. J. Day

On Tue, 26 Jun 2012, Paul Eggleton wrote:

On Tuesday 26 June 2012 12:51:15 Robert P. J. Day wrote:
On Tue, 26 Jun 2012, Paul Eggleton wrote:
On Tuesday 26 June 2012 12:26:28 Robert P. J. Day wrote:
i thought that was the technique for centralizing personal config

preferences that you *didn't* want to manually copy into every
local.conf file you created. if you add that personal content into
each local.conf, then of course you don't need those options.
I guess it depends on what you mean by "personal content". Certain
settings are really part of distro policy and if you're finding that
you're setting them all the time for all of the builds that you're
doing, it would make more sense to create a distro layer that sets
them - then it's simply a matter of ensuring that layer is added to
your bblayers.conf and you set DISTRO as appropriate.

AFAIK the command line options in question were added to allow
frontends to inject configuration into bitbake rather than something
the user would normally use directly.
ok, that makes sense. but would it also make sense for bitbake to
perhaps support another option that *does* allow personal content to,
say, be effectively appended to one's local.conf. for instance, every
single local.conf i create immediately gets this added to the end:

SOURCE_MIRROR_URL ?= "file:///home/rpjday/dl/"
INHERIT += "own-mirrors"
OK, looking at the settings you've listed, I think these are the
kinds of things that site.conf was invented for - stuff that is
specific not to the builds you are doing but to the host machine /
site. You can simply put these settings in a file called site.conf
next to local.conf and they'll be read from there; for new build
directories you can just copy it in or symlink it from some common
that still requires just a touch of user intervention. no totally
automatic way to do that, then? it's at least an improvement over
manual copying, thanks.



Robert P. J. Day Ottawa, Ontario, CANADA


Join { to automatically receive all group messages.