]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bb/ui: Use getSetVariable command for BB_CONSOLELOG
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Oct 2015 09:12:42 +0000 (10:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Oct 2015 07:35:28 +0000 (07:35 +0000)
commit021f2eb55ab5863b57ed1b3f19f1b329bc1ad477
tree6af4135cf04cd19b57c84a1108059cc9a5029507
parent0c0c524691e3d2ffd9953a106fcc06262cbde910
bb/ui: Use getSetVariable command for BB_CONSOLELOG

Metadata can define BB_CONSOLELOG as containing ${DATETIME} and
this can get expanded to a different value each time the variable
is read. In the case of BB_CONSOLELOG, this behaviour is not
desireable.

The values of DATE/TIME are locked down at build time but this is too
late for the purposes of ensuring the system can figure out the real
value of BB_CONSOLELOG.

The best way to do this is to set the variable into the datastore, thereby
preserving its value.

[YOCTO #8411]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/knotty.py
lib/bb/ui/toasterui.py