mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
This commit is contained in:
committed by
Martin Jansa
parent
761639b9d7
commit
efd3696e70
@@ -91,7 +91,7 @@ python populate_packages_prepend() {
|
||||
fpack="${PN}-" + name + "-dbg" + " " + fpack
|
||||
d.setVar('PACKAGES', fpack)
|
||||
|
||||
conf=(d.getVar('PACKAGECONFIG', True) or "").split()
|
||||
conf=(d.getVar('PACKAGECONFIG') or "").split()
|
||||
pack=d.getVar('PACKAGES', False) or ""
|
||||
bb.debug(1, "PACKAGECONFIG=%s" % conf)
|
||||
bb.debug(1, "PACKAGES1=%s" % pack )
|
||||
@@ -105,7 +105,7 @@ python populate_packages_prepend() {
|
||||
if "python" in conf:
|
||||
fill_more("plpython")
|
||||
|
||||
pack=d.getVar('PACKAGES', True) or ""
|
||||
pack=d.getVar('PACKAGES') or ""
|
||||
bb.debug(1, "PACKAGES2=%s" % pack)
|
||||
|
||||
}
|
||||
@@ -191,7 +191,7 @@ do_install_append() {
|
||||
# multiple server config directory
|
||||
install -d -m 700 ${D}${sysconfdir}/default/${BPN}
|
||||
|
||||
if [ "${@d.getVar('enable_pam', True)}" = "pam" ]; then
|
||||
if [ "${@d.getVar('enable_pam')}" = "pam" ]; then
|
||||
install -d ${D}${sysconfdir}/pam.d
|
||||
install -m 644 ${WORKDIR}/postgresql.pam ${D}${sysconfdir}/pam.d/postgresql
|
||||
fi
|
||||
@@ -221,7 +221,7 @@ FILES_${PN} += "${sysconfdir}/init.d/${BPN}-server \
|
||||
${libdir}/${BPN}/libpqwalreceiver.so \
|
||||
${libdir}/${BPN}/*_and_*.so \
|
||||
${@'${sysconfdir}/pam.d/postgresql' \
|
||||
if 'pam' == d.getVar('enable_pam', True) \
|
||||
if 'pam' == d.getVar('enable_pam') \
|
||||
else ''} \
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user