]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: Improve rpm log_check_regex
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 20 May 2015 10:40:18 +0000 (13:40 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2015 08:41:56 +0000 (09:41 +0100)
commit4a7f15e1d64a5d4ca4cd9b46a0ee5903e441b4e0
treec0bcc525ab546553293c9095e6beb5489966a684
parent20a60f137a9a1ae2689286241cc3d68a0392803d
rootfs.py: Improve rpm log_check_regex

Current regex can cause false negatives if paths in bitbake log files
contain "ERR" or "Fail". do_rootfs fails with return code 1 in
this case.

Improved regexp is based on error messages produced by rpm.
Those are found by analyzing rpm source code.

[YOCTO #7789]

(From OE-Core rev: 38871dc0295fb2516e1c8b1dc9948c2d2fc4d2cd)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py