summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-06-18 16:42:45 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-03 14:54:57 +0100
commit9870fbc9f80f6c752e0d5cb73a118603b078f44f (patch)
treefac0d67506861f4f80c26c7efd88c1845467cfc0 /meta/classes/image.bbclass
parentbd2d6016c067b9e406da78c45eaad463117ffb76 (diff)
downloadpoky-9870fbc9f80f6c752e0d5cb73a118603b078f44f.tar.gz
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. (From OE-Core rev: 779db325d407f0bade84572ef99fdad4d0c88011) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
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 () {
220log_check() { 220log_check() {
221 for target in $* 221 for target in $*
222 do 222 do
223 lf_path="${WORKDIR}/temp/log.do_$target.${PID}" 223 lf_path="`dirname ${BB_LOGFILE}`/log.do_$target.${PID}"
224 224
225 echo "log_check: Using $lf_path as logfile" 225 echo "log_check: Using $lf_path as logfile"
226 226