diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-18 16:42:45 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-03 00:05:29 -0700 |
commit | 779db325d407f0bade84572ef99fdad4d0c88011 (patch) | |
tree | 450eecf920f161152d9a319372f28986b90bf13b /meta/classes/image.bbclass | |
parent | 337428316de3612a8e1efa70b3a4ba7cb6e058d2 (diff) | |
download | openembedded-core-779db325d407f0bade84572ef99fdad4d0c88011.tar.gz openembedded-core-779db325d407f0bade84572ef99fdad4d0c88011.tar.bz2 openembedded-core-779db325d407f0bade84572ef99fdad4d0c88011.zip |
Fix manual log file paths
When a recent change, the path to log files may be contained within an
arbitrary directory. To generate the manual log files in the correct path
we should be using the ${BB_LOGFILE}'s path instead of always assuming the
logs go into ${WORKDIR}/temp.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 7e4bb696cf..9fae1fe43f 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -220,7 +220,7 @@ insert_feed_uris () { log_check() { for target in $* do - lf_path="${WORKDIR}/temp/log.do_$target.${PID}" + lf_path="`dirname ${BB_LOGFILE}`/log.do_$target.${PID}" echo "log_check: Using $lf_path as logfile" |