]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: fix logic error so that warnings are checked
authorChen Qi <Qi.Chen@windriver.com>
Thu, 12 Mar 2015 02:33:34 +0000 (10:33 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2015 17:38:37 +0000 (17:38 +0000)
commit3e9e2ce380a73b50cbfc1995e361cfe879de6a8a
tree791cec5ce3d7d0e55f5e9e7d2b7129c7fea5d678
parent892c8d80e7cf36b3a45dca248969d49ce78c0cbf
rootfs.py: fix logic error so that warnings are checked

The following commit caused log checking for warnings not working for RPM
rootfs.

    rootfs.py: ignore "NOTE:" when catching warnings

The problem is that checking for warnings is always skipped because the
following statement is always true.

    if 'log_check' or 'NOTE:' in line:

This patch fixes the above problem so that warning checking in RPM rootfs
can work again.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/rootfs.py