]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
testimage: Fix error message to reflect new syntax
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>
Wed, 1 Feb 2023 20:13:22 +0000 (13:13 -0700)
committerSteve Sakoman <steve@sakoman.com>
Sat, 11 Feb 2023 14:03:33 +0000 (04:03 -1000)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec73d19d78e8f30ff9b817490c23bcdf8ea47c86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-recipe/testimage.bbclass

index 5cc408b0c47b64620ced7f929700429cf60a8cad..df22bb2344aaf42b0a8ff5c1f1b259cc25d179bb 100644 (file)
@@ -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.