]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 10 Oct 2020 12:37:44 +0000 (13:37 +0100)
commit252385bef9b226f32691b8513869ea3e41813b40
tree114ece82bcb1a160e422e34b391509a979d22b08
parentc263d810b7eb47ee90f2adeb5ab6decf7332bec2
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>
meta/lib/bblayers/templates/example.bb