summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/rootfs.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-10-21 16:18:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-27 07:24:25 +0000
commit8a555fe74acc098cb39c6d8f400451397e9e3d34 (patch)
treebf2138eb8356f2197a62da50b8b70208173cb524 /meta/lib/oe/rootfs.py
parent787253fd4efcd18d46b3bcf794e3d54a93ef9f19 (diff)
downloadpoky-8a555fe74acc098cb39c6d8f400451397e9e3d34.tar.gz
rootfs.py: add more info to the warning message
Since the log_check_regex can potentially be false positive it makes sense to print the whole line where error is found. This way user will be able to see the error and understand if it's valid or not. [YOCTO: #7789] (From OE-Core rev: f9cf31525fc885e1a0f65bd55654631257f87078) 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>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r--meta/lib/oe/rootfs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 4e81263f17..f7daf32e75 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -66,6 +66,7 @@ class Rootfs(object):
66 m = r.search(line) 66 m = r.search(line)
67 if m: 67 if m:
68 found_error = 1 68 found_error = 1
69 bb.warn('[log_check] In line: [%s]' % line)
69 bb.warn('[log_check] %s: found an error message in the logfile (keyword \'%s\'):\n[log_check] %s' 70 bb.warn('[log_check] %s: found an error message in the logfile (keyword \'%s\'):\n[log_check] %s'
70 % (self.d.getVar('PN', True), m.group(), line)) 71 % (self.d.getVar('PN', True), m.group(), line))
71 72