]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: maybe no log.do_compile or log.do_install
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 22 Mar 2012 09:55:34 +0000 (17:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Mar 2012 16:43:40 +0000 (16:43 +0000)
commitbbf38aa898454a2bb9a4ac993eb2696fbd5f4e57
tree8535741c1af787d1fd64218bfcdb76ef4fc83015
parent6c785bcd4368ea49941ec00bc8c34f334a39d8f3
insane.bbclass: maybe no log.do_compile or log.do_install

The insane.bbclass grep in log.do_compile and log.do_install
unconditionally, but there maybe no such logs when mirror the pkg from
sstate cache file. We should check whether the log file exists or not
before grep in it.

Additionally, break the one too long line into two (Add a "\n").

[YOCTO #2153]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass