diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_tar.bbclass | 4 |
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 () { | |||
24 | bb.debug(1, "PACKAGES not defined, nothing to package") | 24 | bb.debug(1, "PACKAGES not defined, nothing to package") |
25 | return | 25 | return |
26 | 26 | ||
27 | pkgdest = d.getVar('PKGDEST', True) | ||
28 | |||
27 | bb.utils.mkdirhier(outdir) | 29 | bb.utils.mkdirhier(outdir) |
28 | bb.utils.mkdirhier(dvar) | 30 | bb.utils.mkdirhier(dvar) |
29 | 31 | ||
30 | for pkg in packages.split(): | 32 | for pkg in packages.split(): |
31 | localdata = bb.data.createCopy(d) | 33 | localdata = bb.data.createCopy(d) |
32 | root = "%s/install/%s" % (workdir, pkg) | 34 | root = "%s/%s" % (pkgdest, pkg) |
33 | 35 | ||
34 | overrides = localdata.getVar('OVERRIDES') | 36 | overrides = localdata.getVar('OVERRIDES') |
35 | localdata.setVar('OVERRIDES', '%s:%s' % (overrides, pkg)) | 37 | localdata.setVar('OVERRIDES', '%s:%s' % (overrides, pkg)) |