mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
a5896803e7
commit
ced8fd6ea9
|
@ -229,7 +229,7 @@ The final thing you need to do when setting :term:`TEST_TARGET` to
|
||||||
statements in your ``local.conf`` file::
|
statements in your ``local.conf`` file::
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.gz"
|
IMAGE_FSTYPES += "tar.gz"
|
||||||
INHERIT += "testimage"
|
IMAGE_CLASSES += "testimage"
|
||||||
TEST_TARGET = "SystemdbootTarget"
|
TEST_TARGET = "SystemdbootTarget"
|
||||||
TEST_TARGET_IP = "192.168.2.3"
|
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
|
inherit the :ref:`ref-classes-testimage` class by editing your
|
||||||
``local.conf`` file::
|
``local.conf`` file::
|
||||||
|
|
||||||
INHERIT += "testimage"
|
IMAGE_CLASSES += "testimage"
|
||||||
|
|
||||||
Next, use BitBake to run the tests::
|
Next, use BitBake to run the tests::
|
||||||
|
|
||||||
|
|
|
@ -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
|
class, which is optional, you need to have the following set in
|
||||||
your ``conf/local.conf`` file::
|
your ``conf/local.conf`` file::
|
||||||
|
|
||||||
INHERIT += "testimage"
|
IMAGE_CLASSES += "testimage"
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user