diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-08 18:00:57 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-07-30 21:00:27 +0200 |
commit | 09a36b234c05a65e1acac3617da0a3521895dccf (patch) | |
tree | 1cef937ca457f85d91fe9e7a908dc73a50d070ef /meta-oe/recipes-support/postgresql/postgresql.inc | |
parent | 5f044775691777f6b165e1dd861631248f9a9df1 (diff) | |
download | meta-openembedded-contrib-09a36b234c05a65e1acac3617da0a3521895dccf.tar.gz |
postgresql: Add explict getVar expansion parameter
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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/postgresql/postgresql.inc')
-rw-r--r-- | meta-oe/recipes-support/postgresql/postgresql.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc index c7aed9ec4e..15fb7c7d42 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 ) |