[oe-commits] [openembedded-core] 01/07: Revert "rootfs.py: add more info to the warning message"

git at git.openembedded.org git at git.openembedded.org
Thu May 19 08:16:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 1654e038b0cf8acd0f27e51aa13fd2739f255ce3
Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
AuthorDate: Thu May 19 00:28:12 2016 +0200

    Revert "rootfs.py: add more info to the warning message"
    
    The reverted commit added a warning with the log line that triggered
    the log check for error messages before the warning that states that
    an error has been found in the log. However, the error line is output
    by the call to bb.fatal() that follows immediately after the original
    warning, which makes it redundant. Additionaly, having two warnings
    contradicts the intent of commit 8dfdd329 where the log warnings were
    tidied up.
    
    This reverts commit f9cf31525fc885e1a0f65bd55654631257f87078.
    
    Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/rootfs.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 95fd3ab..f6fb06c 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -75,7 +75,6 @@ class Rootfs(object):
                 m = r.search(line)
                 if m:
                     found_error = 1
-                    bb.warn('[log_check] In line: [%s]' % line)
                     bb.warn('[log_check] %s: found an error message in the logfile (keyword \'%s\'):\n[log_check] %s'
 				    % (self.d.getVar('PN', True), m.group(), line))
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list