The error message in the log is: Initialising tasks...ERROR: Task do_checkpkg does not exist for target strace [snip]
So line.find("ERROR: Task do_checkpkg does not exist") == 0 doesn't work, use != -1 to fix the problem. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- upgradehelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index 8e5466e..d439a4c 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -753,7 +753,7 @@ class UniverseUpdater(Updater): self.bb.checkpkg(recipe) except Error as e: for line in e.stdout.split('\n'): - if line.find("ERROR: Task do_checkpkg does not exist") == 0: + if line.find("ERROR: Task do_checkpkg does not exist") != -1: C(" \"distrodata.bbclass\" not inherited. Consider adding " "the following to your local.conf:\n\n" "INHERIT =+ \"distrodata\"\n") -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto