From 779db325d407f0bade84572ef99fdad4d0c88011 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 18 Jun 2012 16:42:45 -0500 Subject: 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 --- meta/classes/populate_sdk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/populate_sdk.bbclass') diff --git a/meta/classes/populate_sdk.bbclass b/meta/classes/populate_sdk.bbclass index 5aa8e92b87..1131d686b9 100644 --- a/meta/classes/populate_sdk.bbclass +++ b/meta/classes/populate_sdk.bbclass @@ -70,7 +70,7 @@ fakeroot do_populate_sdk() { populate_sdk_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" -- cgit 1.2.3-korg