summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.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/package_deb.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/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass4
1 files changed, 2 insertions, 2 deletions
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 () {
167 fi 167 fi
168 done 168 done
169 169
170 rm -f ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} 170 rm -f `dirname ${BB_LOGFILE}`/log.do_${task}-attemptonly.${PID}
171 if [ ! -z "${package_attemptonly}" ]; then 171 if [ ! -z "${package_attemptonly}" ]; then
172 for i in ${package_attemptonly}; do 172 for i in ${package_attemptonly}; do
173 apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} 2>&1 || true 173 apt-get install $i --force-yes --allow-unauthenticated >> `dirname ${BB_LOGFILE}`/log.do_${task}-attemptonly.${PID} 2>&1 || true
174 done 174 done
175 fi 175 fi
176 176