diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-10-03 11:17:41 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-09 15:52:17 +0100 |
commit | ced8fd6ea97947d3f52e3b46fbd5de9ab207d89d (patch) | |
tree | b273ec9934dc5f482f818cdd9ad689da4b490fcd | |
parent | a5896803e787f5a5b5e491bb56deea50c2d2b4cb (diff) | |
download | poky-ced8fd6ea97947d3f52e3b46fbd5de9ab207d89d.tar.gz |
dev-manual: fix testimage usage instructions
The proper way to inherit the testimage class is now
IMAGE_CLASSES += "testimage"
so change lines with 'INHERIT += "testimage"' to match. This makes the
dev-manual consistent with the migration guide, which already specifies
that the old way causes an error.
(From yocto-docs rev: 2a3e2c6e48be6f7ec2b3ff0817144dd1036961ba)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/dev-manual/runtime-testing.rst | 4 | ||||
-rw-r--r-- | documentation/dev-manual/upgrading-recipes.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/dev-manual/runtime-testing.rst b/documentation/dev-manual/runtime-testing.rst index c5c5653bef..af3fe2c1dd 100644 --- a/documentation/dev-manual/runtime-testing.rst +++ b/documentation/dev-manual/runtime-testing.rst | |||
@@ -229,7 +229,7 @@ The final thing you need to do when setting :term:`TEST_TARGET` to | |||
229 | statements in your ``local.conf`` file:: | 229 | statements in your ``local.conf`` file:: |
230 | 230 | ||
231 | IMAGE_FSTYPES += "tar.gz" | 231 | IMAGE_FSTYPES += "tar.gz" |
232 | INHERIT += "testimage" | 232 | IMAGE_CLASSES += "testimage" |
233 | TEST_TARGET = "SystemdbootTarget" | 233 | TEST_TARGET = "SystemdbootTarget" |
234 | TEST_TARGET_IP = "192.168.2.3" | 234 | TEST_TARGET_IP = "192.168.2.3" |
235 | 235 | ||
@@ -335,7 +335,7 @@ You can start the tests automatically or manually: | |||
335 | inherit the :ref:`ref-classes-testimage` class by editing your | 335 | inherit the :ref:`ref-classes-testimage` class by editing your |
336 | ``local.conf`` file:: | 336 | ``local.conf`` file:: |
337 | 337 | ||
338 | INHERIT += "testimage" | 338 | IMAGE_CLASSES += "testimage" |
339 | 339 | ||
340 | Next, use BitBake to run the tests:: | 340 | Next, use BitBake to run the tests:: |
341 | 341 | ||
diff --git a/documentation/dev-manual/upgrading-recipes.rst b/documentation/dev-manual/upgrading-recipes.rst index 947ef138ac..4fac78bdfb 100644 --- a/documentation/dev-manual/upgrading-recipes.rst +++ b/documentation/dev-manual/upgrading-recipes.rst | |||
@@ -117,7 +117,7 @@ The following steps describe how to set up the AUH utility: | |||
117 | class, which is optional, you need to have the following set in | 117 | class, which is optional, you need to have the following set in |
118 | your ``conf/local.conf`` file:: | 118 | your ``conf/local.conf`` file:: |
119 | 119 | ||
120 | INHERIT += "testimage" | 120 | IMAGE_CLASSES += "testimage" |
121 | 121 | ||
122 | .. note:: | 122 | .. note:: |
123 | 123 | ||