mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +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
@@ -48,12 +48,12 @@ PACKAGES_DYNAMIC = "${PN}-plugin-*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
rygel_libdir = d.expand('${libdir}/rygel-${LIBV}')
|
||||
postinst = d.getVar('plugin_postinst', True)
|
||||
postinst = d.getVar('plugin_postinst')
|
||||
pkgs = []
|
||||
|
||||
pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), 'librygel-(.*)\.so$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}'))
|
||||
pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), '(.*)\.plugin$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}'))
|
||||
|
||||
metapkg = d.getVar('PN', True) + '-meta'
|
||||
metapkg = d.getVar('PN') + '-meta'
|
||||
d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user