From: Alejandro Hernandez Samaniego Date: Wed, 1 Feb 2023 20:13:22 +0000 (-0700) Subject: testimage: Fix error message to reflect new syntax X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1821 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec73d19d78e8f30ff9b817490c23bcdf8ea47c86;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git testimage: Fix error message to reflect new syntax Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index 5cc408b0c47..df22bb2344a 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass @@ -236,7 +236,7 @@ def testimage_main(d): with open(tdname, "r") as f: td = json.load(f) except FileNotFoundError as err: - bb.fatal('File %s not found (%s).\nHave you built the image with INHERIT += "testimage" in the conf/local.conf?' % (tdname, err)) + bb.fatal('File %s not found (%s).\nHave you built the image with IMAGE_CLASSES += "testimage" in the conf/local.conf?' % (tdname, err)) # Some variables need to be updates (mostly paths) with the # ones of the current environment because some tests require them.