]> code.ossystems Code Review - openembedded-core.git/commit
classes/logging: allow shell message functions to work in devshell
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 14 Jul 2015 08:54:46 +0000 (09:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 14:08:45 +0000 (15:08 +0100)
commit607d3306f7abef057693dcb6aac1f7b26880181d
treeaaae2b5069fbcebf06ffcd9871bcdb85cef04a15
parent04ed9a19e1b08003329138b8ab83691d13c11fd9
classes/logging: allow shell message functions to work in devshell

Fix a regression caused by the shell message changes - if you run a
shell task's runfile, the task isn't actually running in BitBake and
thus the message FIFO won't exist - so we should just fall back to
printing the message with echo as we did before so that the run files
are still useful.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/logging.bbclass