From 9870fbc9f80f6c752e0d5cb73a118603b078f44f 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. (From OE-Core rev: 779db325d407f0bade84572ef99fdad4d0c88011) Signed-off-by: Mark Hatle Signed-off-by: Richard Purdie --- meta/classes/package_deb.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes/package_deb.bbclass') diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 0a8dc1bd7e..f58fd2be02 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -167,10 +167,10 @@ package_install_internal_deb () { fi done - rm -f ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} + rm -f `dirname ${BB_LOGFILE}`/log.do_${task}-attemptonly.${PID} if [ ! -z "${package_attemptonly}" ]; then for i in ${package_attemptonly}; do - apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} 2>&1 || true + apt-get install $i --force-yes --allow-unauthenticated >> `dirname ${BB_LOGFILE}`/log.do_${task}-attemptonly.${PID} 2>&1 || true done fi -- cgit v1.2.3-54-g00ecf