* variable override syntax, where is it documented?
@ 2017-12-06 8:58 Bernd
2017-12-06 9:09 ` Alexander Kanavin
0 siblings, 1 reply; 2+ messages in thread
From: Bernd @ 2017-12-06 8:58 UTC (permalink / raw)
To: yocto
I just found out that I can ovverride the line
hostname = "${MACHINE}"
in base-files simply by assigning a value to
hostname_pn-base-files
in my configuration file and it will re-assign it with a higher
priority than "=".
Now I wonder where this kind of black magic is documented, I don't
seem to be able to locate any document that explains the "_pn-" syntax
and I wonder if there are even more such tricks that could be useful
and am looking for a document that explains them all. Is there such a
thing?
- Bernd
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: variable override syntax, where is it documented?
2017-12-06 8:58 variable override syntax, where is it documented? Bernd
@ 2017-12-06 9:09 ` Alexander Kanavin
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2017-12-06 9:09 UTC (permalink / raw)
To: Bernd, yocto
On 12/06/2017 10:58 AM, Bernd wrote:
> I just found out that I can ovverride the line
>
> hostname = "${MACHINE}"
>
> in base-files simply by assigning a value to
>
> hostname_pn-base-files
>
> in my configuration file and it will re-assign it with a higher
> priority than "=".
>
> Now I wonder where this kind of black magic is documented, I don't
> seem to be able to locate any document that explains the "_pn-" syntax
> and I wonder if there are even more such tricks that could be useful
> and am looking for a document that explains them all. Is there such a
> thing?
Yes, of course. This:
http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-OVERRIDES
and this:
http://www.yoctoproject.org/docs/2.5/bitbake-user-manual/bitbake-user-manual.html#conditional-syntax-overrides
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-06 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 8:58 variable override syntax, where is it documented? Bernd
2017-12-06 9:09 ` Alexander Kanavin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.