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>
This commit is contained in:
Richard Purdie
2015-07-08 18:00:57 +01:00
committed by Martin Jansa
parent 5f04477569
commit 09a36b234c
@@ -84,14 +84,14 @@ python populate_packages_prepend() {
if name is None or name.strip() == "": if name is None or name.strip() == "":
return return
fpack=d.getVar('PACKAGES') or "" fpack=d.getVar('PACKAGES', False) or ""
fpack="${PN}-" + name + " " + fpack fpack="${PN}-" + name + " " + fpack
if dbg: if dbg:
fpack="${PN}-" + name + "-dbg" + " " + fpack fpack="${PN}-" + name + "-dbg" + " " + fpack
d.setVar('PACKAGES', fpack) d.setVar('PACKAGES', fpack)
conf=(d.getVar('PACKAGECONFIG', True) or "").split() 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, "PACKAGECONFIG=%s" % conf)
bb.debug(1, "PACKAGES1=%s" % pack ) bb.debug(1, "PACKAGES1=%s" % pack )