]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: two changes regarding log checking
authorChen Qi <Qi.Chen@windriver.com>
Thu, 19 Mar 2015 05:17:51 +0000 (13:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Mar 2015 09:19:36 +0000 (09:19 +0000)
commit4c9213dffb71510ba99a0665f620e9de4a2dfeb5
treeeb6fab1c550f3894204489c75658b2af81b91197
parentbb3b8e4e7580c1dfdfe584d3b5f0fe6803826a43
rootfs.py: two changes regarding log checking

This patch involves two changes.

1. Extend the regular expression to also catch '^WARNING:' in _log_check_warn.
   Warnings from bb.note or bbnote begin with 'WARNING:'. So if we decide to
   catch warnings at rootfs time, we should not ignore those produced by
   the build system itself.

2. Delay _log_check in rootfs process so that more warnings are likely to be
   catched. Note that we should at least delay the _log_check after the
   execution of ROOTFS_POSTPROCESS_COMMANDS, because we want to catch warnings
   there.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py