summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/packages.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/dev-manual/packages.rst')
-rw-r--r--documentation/dev-manual/packages.rst16
1 files changed, 7 insertions, 9 deletions
diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst
index 2decdcb253..0c584c177a 100644
--- a/documentation/dev-manual/packages.rst
+++ b/documentation/dev-manual/packages.rst
@@ -643,8 +643,7 @@ Lighttpd, or Nginx), take the appropriate steps to do so.
643From within the :term:`Build Directory` where you have built an image based on 643From within the :term:`Build Directory` where you have built an image based on
644your packaging choice (i.e. the :term:`PACKAGE_CLASSES` setting), simply start 644your packaging choice (i.e. the :term:`PACKAGE_CLASSES` setting), simply start
645the server. The following example assumes a :term:`Build Directory` of ``poky/build`` 645the server. The following example assumes a :term:`Build Directory` of ``poky/build``
646and a :term:`PACKAGE_CLASSES` setting of 646and a :term:`PACKAGE_CLASSES` setting of ":ref:`ref-classes-package_rpm`"::
647":ref:`package_rpm <ref-classes-package_rpm>`"::
648 647
649 $ cd poky/build/tmp/deploy/rpm 648 $ cd poky/build/tmp/deploy/rpm
650 $ python3 -m http.server 649 $ python3 -m http.server
@@ -909,8 +908,8 @@ see the :yocto_wiki:`Ptest </Ptest>` wiki page.
909 908
910.. note:: 909.. note::
911 910
912 A recipe is "ptest-enabled" if it inherits the 911 A recipe is "ptest-enabled" if it inherits the :ref:`ref-classes-ptest`
913 :ref:`ptest <ref-classes-ptest>` class. 912 class.
914 913
915Adding ptest to Your Build 914Adding ptest to Your Build
916-------------------------- 915--------------------------
@@ -940,7 +939,7 @@ In order to enable a recipe to run installed ptests on target hardware,
940you need to prepare the recipes that build the packages you want to 939you need to prepare the recipes that build the packages you want to
941test. Here is what you have to do for each recipe: 940test. Here is what you have to do for each recipe:
942 941
943- *Be sure the recipe inherits the* :ref:`ptest <ref-classes-ptest>` *class:* 942- *Be sure the recipe inherits the* :ref:`ref-classes-ptest` *class:*
944 Include the following line in each recipe:: 943 Include the following line in each recipe::
945 944
946 inherit ptest 945 inherit ptest
@@ -991,7 +990,7 @@ test. Here is what you have to do for each recipe:
991 special configurations prior to compiling the test code, you must 990 special configurations prior to compiling the test code, you must
992 insert a ``do_configure_ptest`` function into the recipe. 991 insert a ``do_configure_ptest`` function into the recipe.
993 992
994- *Install the test suite:* The :ref:`ptest <ref-classes-ptest>` class 993- *Install the test suite:* The :ref:`ref-classes-ptest` class
995 automatically copies the file ``run-ptest`` to the target and then runs make 994 automatically copies the file ``run-ptest`` to the target and then runs make
996 ``install-ptest`` to run the tests. If this is not enough, you need 995 ``install-ptest`` to run the tests. If this is not enough, you need
997 to create a ``do_install_ptest`` function and make sure it gets 996 to create a ``do_install_ptest`` function and make sure it gets
@@ -1145,9 +1144,8 @@ Here are three key points in the previous example:
1145 sub-module's license is unavailable, the sub-module's name appears in 1144 sub-module's license is unavailable, the sub-module's name appears in
1146 the comments. 1145 the comments.
1147 1146
1148- The ``inherit npm`` statement causes the 1147- The ``inherit npm`` statement causes the :ref:`ref-classes-npm` class to
1149 :ref:`npm <ref-classes-npm>` class to package 1148 package up all the modules.
1150 up all the modules.
1151 1149
1152You can run the following command to build the ``cute-files`` package:: 1150You can run the following command to build the ``cute-files`` package::
1153 1151