All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] package_tar: Fix so it actually works
@ 2013-02-17  9:04 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-02-17  9:04 UTC (permalink / raw)
  To: openembedded-core

This tells us how long the code hasn't been used for :/

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass
index 5e3058d..c4bb62f 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))





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-17  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-17  9:04 [PATCH] package_tar: Fix so it actually works Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.