]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rootfs.py: fix logic error so that warnings are checked ChenQi/rootfs-log-check
authorChen Qi <Qi.Chen@windriver.com>
Thu, 12 Mar 2015 02:19:52 +0000 (10:19 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 12 Mar 2015 02:32:11 +0000 (10:32 +0800)
commitbdcf84820960e05397fdc52b1fed6ae4e56fc6d0
tree4baad38a7ce1d938f1dde1f401c273b8fbadb170
parent99f209a49a4390192b95184ff86bd6f973010111
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>
meta/lib/oe/rootfs.py