]> code.ossystems Code Review - openembedded-core.git/commit
bitbake-bblayers/create: Make the example recipe print its message
authorYoann Congal <yoann.congal@smile.fr>
Fri, 9 Oct 2020 07:15:45 +0000 (09:15 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 19 Oct 2020 14:27:15 +0000 (04:27 -1000)
commit2387f968b8dd90de9f0907ee571ec6207ffa9a19
tree9ad93891a0451b2d505513779e523726c6125b97
parente2240d0a93a9a2932506a356315ad6702ecee9b6
bitbake-bblayers/create: Make the example recipe print its message

The example recipe is setup to print a message using bb.plain() in the
"do_build" task but this task is "noexec" so the message never prints.
This might be confusing.

This moves the message printing into another "do_display_banner" task
and add it to the do_build "before" list.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 252385bef9b226f32691b8513869ea3e41813b40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/bblayers/templates/example.bb