]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: ignore "NOTE:" when catching warnings
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Fri, 6 Feb 2015 20:59:57 +0000 (12:59 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Feb 2015 08:40:33 +0000 (08:40 +0000)
commit0387d0957909a9977efd8b2008e4d1c6d81ceb2a
treeb65fcfaf0bb1f14172935f8004a4bb1fb5976e95
parent99b598927b7a3837621d9e83e69b3b4fd83afed1
rootfs.py: ignore "NOTE:" when catching warnings

The script looks for any warn|Warn pattern in the log. However,
it may happen that the warn|Warn pattern appears as part of the name
of the objects described in the NOTE lines of the log. Thus, to avoid
false positives, ignore the line if it contains the word "NOTE:"

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/rootfs.py