Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH][meta-oe] postgresql: Add explict getVar expansion parameter
@ 2015-07-08 17:00 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-07-08 17:00 UTC (permalink / raw)
  To: openembedded-devel

Bitbake is likely to require this parameter in future, add
the default value.

Patch generated with the command: 

sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index c7aed9e..15fb7c7 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -84,14 +84,14 @@ python populate_packages_prepend() {
         if name is None or name.strip() == "":
             return
 
-        fpack=d.getVar('PACKAGES') or ""
+        fpack=d.getVar('PACKAGES', False) or ""
         fpack="${PN}-" + name + " " + fpack
         if dbg:
             fpack="${PN}-" + name + "-dbg" + " " + fpack
         d.setVar('PACKAGES', fpack)
 
     conf=(d.getVar('PACKAGECONFIG', True) or "").split()
-    pack=d.getVar('PACKAGES') or ""
+    pack=d.getVar('PACKAGES', False) or ""
     bb.debug(1, "PACKAGECONFIG=%s" % conf)
     bb.debug(1, "PACKAGES1=%s" % pack )
 




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

only message in thread, other threads:[~2015-07-08 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08 17:00 [PATCH][meta-oe] postgresql: Add explict getVar expansion parameter Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox