[bitbake-devel] [RFC] Do postfiles make sense?
josh at linux.intel.com
Thu Aug 11 23:27:34 UTC 2011
Some time ago I added an -R switch to bitbake for configuration files to
load after bitbake.conf.
I'd been happily using this for the UI I've been working on without
fully realising that it's not safe to rely on postfiles to set variables
which affect the files included by bitbake.conf. For oe-core this
includes: BUILD_SYS, TARGET_SYS, MACHINE, SDKMACHINE and DISTRO.
In light of this flaw do postfiles make sense?
For the UI's purpose I think I'm going to have to switch to a prefile
(-r) in the wrapper script and add logic to hob to detect whether the
set variables differ from those in hob.local.conf - so that we can warn
those with a local.conf that uses = assignment that things won't work...
Yocto Project "Johannes Factotum"
Intel Open Source Technology Centre
More information about the bitbake-devel