]> 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>
Thu, 21 May 2015 09:48:47 +0000 (10:48 +0100)
commit38871dc0295fb2516e1c8b1dc9948c2d2fc4d2cd
tree18d7949ef7862d213e95e7dd067ffbd0c3251676
parentada8972ec40441b06e50d3e9ccbc07241a48e30a
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]

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