diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-09-26 19:36:01 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-29 17:49:11 +0100 |
commit | f8d725f49f2be4b854f523a5ee3a5c4357e67e30 (patch) | |
tree | 66b233402a85171e3e3c078b474787825a669ddb /meta/recipes-kernel | |
parent | 8e4ab29924c8c5fe2a79e8b0ca41fa45cc8e94a1 (diff) | |
download | openembedded-core-f8d725f49f2be4b854f523a5ee3a5c4357e67e30.tar.gz openembedded-core-f8d725f49f2be4b854f523a5ee3a5c4357e67e30.tar.bz2 openembedded-core-f8d725f49f2be4b854f523a5ee3a5c4357e67e30.zip |
rootfs.py: catch inner warn message
Package managements (smart/apt-get/opkg-cl) generate some warn messages
to stdout, and we need to catch them and output by bb.warn.
Here is an example, while invoking smart to attempt install doc packages,
if install failed, it generates warn message to stdout.
...
|warning: Can't install util-linux-doc-2.24.2-r1@i586: Can't
install util-linux-doc-2.24.2-r1@i586: no package provides info
...
The fix catches it and outputs:
...
|WARNING: log_check: There is a warn message in the logfile
|WARNING: log_check: Matched keyword: [warn]
|WARNING: log_check: warning: Can't install util-linux-doc-2.24.2-r1@
i586: Can't install util-linux-doc-2.24.2-r1@i586: no package provides
info
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'meta/recipes-kernel')
0 files changed, 0 insertions, 0 deletions