summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.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_ipk.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_ipk.bbclass')
-rw-r--r--meta/classes/package_ipk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index c86ea0314d..e682e6a611 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -157,7 +157,7 @@ package_install_internal_ipk() {
157 fi 157 fi
158 158
159 if [ ! -z "${package_attemptonly}" ]; then 159 if [ ! -z "${package_attemptonly}" ]; then
160 opkg-cl ${ipkg_args} install ${package_attemptonly} > "${WORKDIR}/temp/log.do_${task}_attemptonly.${PID}" || true 160 opkg-cl ${ipkg_args} install ${package_attemptonly} > "`dirname ${BB_LOGFILE}`/log.do_${task}_attemptonly.${PID}" || true
161 fi 161 fi
162 162
163 package_tryout_install_multilib_ipk 163 package_tryout_install_multilib_ipk