mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
classes: Ensure pass setVar/setVarFlag strings, not integers
This doesn't cause any issues right now but it make sense to standardise on consistently using strings in the data store. (From OE-Core rev: 99203fbe5ad470ef65cff93cec9d7f332883b5ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -58,7 +58,7 @@ addtask install_ptest_base after do_install before do_package do_populate_sy
|
||||
|
||||
python () {
|
||||
if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
|
||||
d.setVarFlag('do_install_ptest_base', 'fakeroot', 1)
|
||||
d.setVarFlag('do_install_ptest_base', 'fakeroot', '1')
|
||||
|
||||
# Remove all '*ptest_base' tasks when ptest is not enabled
|
||||
if not(d.getVar('PTEST_ENABLED', True) == "1"):
|
||||
|
||||
Reference in New Issue
Block a user