]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: tweak inner warn message catching
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 29 Oct 2014 05:54:51 +0000 (13:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Nov 2014 10:20:34 +0000 (10:20 +0000)
commit4ceb3b5f928af7f631294c83b83e3a3c89cbf890
tree0572362381c9aade1999a39304d14b826d8856c0
parentbeb2e989e24e671fecd37805876dfb2375ee0df6
rootfs.py: tweak inner warn message catching

The fix filters out irrelevant messages, and makes the catching more
accurate, the inner warn message in do_rootfs usually comes from the
output of complementary install, and pattern the format to catch it.

Here is the example of irrelevant messages:
...
|WARNING: log_check: There is a warn message in the logfile
|WARNING: log_check: Matched keyword: [warn]
|WARNING: log_check: `tmp/deploy/rpm/core2_64/pam-plugin-warn
-1.1.6-r5.0.core2_64.rpm' -> `tmp/work/intel_x86_64-wrs-linux/
wrlinux-image-installer/1.0-r0/rootfs/Packages.intel/./core2_64/
pam-plugin-warn-1.1.6-r5.0.core2_64.rpm'
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/rootfs.py