summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer.ericson@gmail.com>2009-11-26 19:11:11 +0100
committerKristoffer Ericson <kristoffer.ericson@gmail.com>2009-11-26 19:14:23 +0100
commite6c9a9740bdbe3a86b3ef0c25cc37b3d9d844c0f (patch)
treebdfb3f100e0828d435a8c18d7db2f0da4e8423b6
parent51f172ce530a7718c1cf628333ba0904120ea1e2 (diff)
Fix so package_tar yet again produces tar packages.
This closes bug 5339. Thx to Pb for fix. Signed-off-by: Kristoffer Ericson
-rw-r--r--classes/package_tar.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/package_tar.bbclass b/classes/package_tar.bbclass
index 9c9ae4ff0a..b905e170f4 100644
--- a/classes/package_tar.bbclass
+++ b/classes/package_tar.bbclass
@@ -56,7 +56,8 @@ python do_package_tar () {
for pkg in packages.split():
localdata = bb.data.createCopy(d)
- root = "%s/install/%s" % (workdir, pkg)
+ pkgdest = bb.data.getVar('PKGDEST', d, 1)
+ root = "%s/%s" % (pkgdest, pkg)
bb.data.setVar('ROOT', '', localdata)
bb.data.setVar('ROOT_%s' % pkg, root, localdata)