yocto-cooker
yocto-cooker copied to clipboard
[RFC] Add a `site.conf` section
It seems interesting to support the creation of conf/site.conf
from a menu.
In the case when the site.conf
is present in a menu and we don't want to use it, a --ignore-site
command line option for cooker
will be needed.
There are other ways to support the site.conf
equivalent :
- add a command-line option (
--site-specific <file>
) that copy the given file intoconf/site.conf
before the build(s); - add a
site-specific
section containing one or more subsections to include into thelocal.conf
file only if specific conditions are validate. The subsection contains a string that is tested (as a shell-command) to know if the given subsection has to be included. Simplest condition strings could betrue
orfalse
. More interesting conditions would beping <an-internal-node>
to know if proxy rules are needed.