From ced8fd6ea97947d3f52e3b46fbd5de9ab207d89d Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 3 Oct 2023 11:17:41 -0400 Subject: 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 Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/dev-manual/runtime-testing.rst | 4 ++-- documentation/dev-manual/upgrading-recipes.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation/dev-manual') 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 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:: 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: class, which is optional, you need to have the following set in your ``conf/local.conf`` file:: - INHERIT += "testimage" + IMAGE_CLASSES += "testimage" .. note:: -- cgit v1.2.3-54-g00ecf