mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
nis, opencv: Update getVar/setVar syntax
The deprecated APIs are removed from bitbake, update two old style references in meta-oe/meta-networking. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
ac2abd467e
commit
d361ef01a9
@@ -25,7 +25,7 @@ do_install() {
|
||||
# so force the package to be skipped here (this will cause a
|
||||
# 'nothing provides' error)
|
||||
python () {
|
||||
os = bb.data.getVar("TARGET_OS", d, 1)
|
||||
os = d.getVar("TARGET_OS", True)
|
||||
if os == "linux-uclibc":
|
||||
raise bb.parse.SkipPackage("NIS functionality requires rpcsvc/yp.h, uClibC does not provide this")
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ python populate_packages_prepend () {
|
||||
for pkg in packages[1:]:
|
||||
if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale'):
|
||||
metapkg_rdepends.append(pkg)
|
||||
bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d)
|
||||
d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user