summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)