summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>2023-02-01 13:13:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-15 21:47:00 +0000
commit39d2f28d278f44bd0f668791ca5b7eb4b94184bc (patch)
treea7f8bdcfa47ce5e6f6cd9259961a233bf10f39af /meta/classes-recipe
parent27b8dc45e8787b2708345d18cacf4c19e8aa1b25 (diff)
downloadpoky-39d2f28d278f44bd0f668791ca5b7eb4b94184bc.tar.gz
testimage: Fix error message to reflect new syntax
(From OE-Core rev: 7b37e52d95cea7759e7302afce99165b127b4abb) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/testimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass
index 5cc408b0c4..df22bb2344 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -236,7 +236,7 @@ def testimage_main(d):
236 with open(tdname, "r") as f: 236 with open(tdname, "r") as f:
237 td = json.load(f) 237 td = json.load(f)
238 except FileNotFoundError as err: 238 except FileNotFoundError as err:
239 bb.fatal('File %s not found (%s).\nHave you built the image with INHERIT += "testimage" in the conf/local.conf?' % (tdname, err)) 239 bb.fatal('File %s not found (%s).\nHave you built the image with IMAGE_CLASSES += "testimage" in the conf/local.conf?' % (tdname, err))
240 240
241 # Some variables need to be updates (mostly paths) with the 241 # Some variables need to be updates (mostly paths) with the
242 # ones of the current environment because some tests require them. 242 # ones of the current environment because some tests require them.