mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
getVar/setVar cleanups
Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. (From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -11,7 +11,7 @@ PKGWRITEDIRIPK = "${WORKDIR}/deploy-ipks"
|
||||
OPKGBUILDCMD ??= "opkg-build"
|
||||
|
||||
python package_ipk_fn () {
|
||||
bb.data.setVar('PKGFN', d.getVar('PKG'), d)
|
||||
d.setVar('PKGFN', d.getVar('PKG'))
|
||||
}
|
||||
|
||||
python package_ipk_install () {
|
||||
@@ -441,7 +441,7 @@ python () {
|
||||
deps = (d.getVarFlag('do_package_write_ipk', 'depends') or "").split()
|
||||
deps.append('opkg-utils-native:do_populate_sysroot')
|
||||
deps.append('virtual/fakeroot-native:do_populate_sysroot')
|
||||
bb.data.setVarFlag('do_package_write_ipk', 'depends', " ".join(deps), d)
|
||||
d.setVarFlag('do_package_write_ipk', 'depends', " ".join(deps))
|
||||
d.setVarFlag('do_package_write_ipk', 'fakeroot', "1")
|
||||
d.setVarFlag('do_package_write_ipk_setscene', 'fakeroot', "1")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user