dev-manual: fix testimage usage instructions
PATCH 1/1 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.
--- documentation/dev-manual/runtime-testing.rst | 4 ++-- documentation/dev-manual/upgrading-recipes.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
documentation/dev-manual/runtime-testing.rst +2 -2
@@ -229,7 +229,7 @@ The final thing you need to do when setting :term:`TEST_TARGET` to statements in your ``local.conf`` file:: IMAGE_FSTYPES += "tar.gz" - INHERIT += "testimage" + IMAGE_CLASSES += "testimage" TEST_TARGET = "SystemdbootTarget" TEST_TARGET_IP = "192.168.2.3"
@@ -335,7 +335,7 @@ You can start the tests automatically or manually: inherit the :ref:`ref-classes-testimage` class by editing your ``local.conf`` file:: - INHERIT += "testimage" + IMAGE_CLASSES += "testimage" Next, use BitBake to run the tests::
documentation/dev-manual/upgrading-recipes.rst +1 -1
@@ -117,7 +117,7 @@ The following steps describe how to set up the AUH utility: class, which is optional, you need to have the following set in your ``conf/local.conf`` file:: - INHERIT += "testimage" + IMAGE_CLASSES += "testimage" .. note::
Signature · 1 line
2.41.0
Hi Trevor
Quoted 41 lines · Trevor Gamblin
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.
Signed-off-by Trevor Gamblin <[email protected]>--- documentation/dev-manual/runtime-testing.rst | 4 ++-- documentation/dev-manual/upgrading-recipes.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)documentation/dev-manual/runtime-testing.rst +2
-2@@ -229,7 +229,7 @@ The final thing you need to do when setting :term:`TEST_TARGET` to statements in your ``local.conf`` file:: IMAGE_FSTYPES += "tar.gz" - INHERIT += "testimage" + IMAGE_CLASSES += "testimage" TEST_TARGET = "SystemdbootTarget" TEST_TARGET_IP = "192.168.2.3"@@ -335,7 +335,7 @@ You can start the tests automatically or manually: inherit the :ref:`ref-classes-testimage` class by editing your ``local.conf`` file:: - INHERIT += "testimage" + IMAGE_CLASSES += "testimage" Next, use BitBake to run the tests::documentation/dev-manual/upgrading-recipes.rst +0
-0
documentation/dev-manual/upgrading-recipes.rst The following steps describe how to set up the AUH utility: · line 122
Quoted 7 lines
documentation/dev-manual/upgrading-recipes.rst +1
-1@@ -117,7 +117,7 @@ The following steps describe how to set up the AUH utility: class, which is optional, you need to have the following set in your ``conf/local.conf`` file:: - INHERIT += "testimage" + IMAGE_CLASSES += "testimage" .. note::
Many thanks for the update!
and merged into "master-next".
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com