summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-17 09:04:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-17 22:31:29 +0000
commitcd503c7f7fec6d177209832f73cec9c5d490be6b (patch)
treeade426b25e5d6dc1722a6b674b6e4cb351c96a65
parente3b21455e4ecc5b4961cf52e035a2d6d541faf69 (diff)
downloadopenembedded-core-cd503c7f7fec6d177209832f73cec9c5d490be6b.tar.gz
openembedded-core-cd503c7f7fec6d177209832f73cec9c5d490be6b.tar.bz2
openembedded-core-cd503c7f7fec6d177209832f73cec9c5d490be6b.zip
package_tar: Fix so it actually works
This tells us how long the code hasn't been used for :/ Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_tar.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass
index 56bca89a5a..c4bb62f126 100644
--- a/meta/classes/package_tar.bbclass
+++ b/meta/classes/package_tar.bbclass
@@ -24,12 +24,14 @@ python do_package_tar () {
bb.debug(1, "PACKAGES not defined, nothing to package")
return
+ pkgdest = d.getVar('PKGDEST', True)
+
bb.utils.mkdirhier(outdir)
bb.utils.mkdirhier(dvar)
for pkg in packages.split():
localdata = bb.data.createCopy(d)
- root = "%s/install/%s" % (workdir, pkg)
+ root = "%s/%s" % (pkgdest, pkg)
overrides = localdata.getVar('OVERRIDES')
localdata.setVar('OVERRIDES', '%s:%s' % (overrides, pkg))