diff options
Diffstat (limited to 'documentation/ref-manual/qa-checks.rst')
| -rw-r--r-- | documentation/ref-manual/qa-checks.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index 4b5d0abdba..d452de4119 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst | |||
| @@ -263,7 +263,7 @@ Errors and Warnings | |||
| 263 | 263 | ||
| 264 | The ``/usr/share/info/dir`` should not be packaged. Add the following | 264 | The ``/usr/share/info/dir`` should not be packaged. Add the following |
| 265 | line to your :ref:`ref-tasks-install` task or to your | 265 | line to your :ref:`ref-tasks-install` task or to your |
| 266 | ``do_install_append`` within the recipe as follows:: | 266 | ``do_install:append`` within the recipe as follows:: |
| 267 | 267 | ||
| 268 | rm ${D}${infodir}/dir | 268 | rm ${D}${infodir}/dir |
| 269 | 269 | ||
| @@ -347,7 +347,7 @@ Errors and Warnings | |||
| 347 | 347 | ||
| 348 | .. _qa-check-dep-cmp: | 348 | .. _qa-check-dep-cmp: |
| 349 | 349 | ||
| 350 | - ``<var>_<packagename> is invalid: <comparison> (<value>) only comparisons <, =, >, <=, and >= are allowed [dep-cmp]`` | 350 | - ``<var>:<packagename> is invalid: <comparison> (<value>) only comparisons <, =, >, <=, and >= are allowed [dep-cmp]`` |
| 351 | 351 | ||
| 352 | If you are adding a versioned dependency relationship to one of the | 352 | If you are adding a versioned dependency relationship to one of the |
| 353 | dependency variables (:term:`RDEPENDS`, | 353 | dependency variables (:term:`RDEPENDS`, |
| @@ -454,14 +454,14 @@ Errors and Warnings | |||
| 454 | ``pkg_preinst``, ``pkg_postinst``, ``pkg_prerm``, ``pkg_postrm``, and | 454 | ``pkg_preinst``, ``pkg_postinst``, ``pkg_prerm``, ``pkg_postrm``, and |
| 455 | :term:`ALLOW_EMPTY`) should always be set specific | 455 | :term:`ALLOW_EMPTY`) should always be set specific |
| 456 | to a package (i.e. they should be set with a package name override | 456 | to a package (i.e. they should be set with a package name override |
| 457 | such as ``RDEPENDS_${PN} = "value"`` rather than | 457 | such as ``RDEPENDS:${PN} = "value"`` rather than |
| 458 | ``RDEPENDS = "value"``). If you receive this error, correct any | 458 | ``RDEPENDS = "value"``). If you receive this error, correct any |
| 459 | assignments to these variables within your recipe. | 459 | assignments to these variables within your recipe. |
| 460 | 460 | ||
| 461 | 461 | ||
| 462 | - ``recipe uses DEPENDS_${PN}, should use DEPENDS [pkgvarcheck]`` | 462 | - ``recipe uses DEPENDS:${PN}, should use DEPENDS [pkgvarcheck]`` |
| 463 | 463 | ||
| 464 | This check looks for instances of setting ``DEPENDS_${PN}`` | 464 | This check looks for instances of setting ``DEPENDS:${PN}`` |
| 465 | which is erroneous (:term:`DEPENDS` is a recipe-wide variable and thus | 465 | which is erroneous (:term:`DEPENDS` is a recipe-wide variable and thus |
| 466 | it is not correct to specify it for a particular package, nor will such | 466 | it is not correct to specify it for a particular package, nor will such |
| 467 | an assignment actually work.) Set :term:`DEPENDS` instead. | 467 | an assignment actually work.) Set :term:`DEPENDS` instead. |
| @@ -524,7 +524,7 @@ Errors and Warnings | |||
| 524 | following: | 524 | following: |
| 525 | 525 | ||
| 526 | - Add the files to :term:`FILES` for the package you want them to appear | 526 | - Add the files to :term:`FILES` for the package you want them to appear |
| 527 | in (e.g. ``FILES_${``\ :term:`PN`\ ``}`` for the main | 527 | in (e.g. ``FILES:${``\ :term:`PN`\ ``}`` for the main |
| 528 | package). | 528 | package). |
| 529 | 529 | ||
| 530 | - Delete the files at the end of the ``do_install`` task if the | 530 | - Delete the files at the end of the ``do_install`` task if the |
| @@ -546,11 +546,11 @@ Errors and Warnings | |||
| 546 | 546 | ||
| 547 | .. _qa-check-unlisted-pkg-lics: | 547 | .. _qa-check-unlisted-pkg-lics: |
| 548 | 548 | ||
| 549 | - ``LICENSE_<packagename> includes licenses (<licenses>) that are not listed in LICENSE [unlisted-pkg-lics]`` | 549 | - ``LICENSE:<packagename> includes licenses (<licenses>) that are not listed in LICENSE [unlisted-pkg-lics]`` |
| 550 | 550 | ||
| 551 | The :term:`LICENSE` of the recipe should be a superset | 551 | The :term:`LICENSE` of the recipe should be a superset |
| 552 | of all the licenses of all packages produced by this recipe. In other | 552 | of all the licenses of all packages produced by this recipe. In other |
| 553 | words, any license in ``LICENSE_*`` should also appear in | 553 | words, any license in ``LICENSE:*`` should also appear in |
| 554 | :term:`LICENSE`. | 554 | :term:`LICENSE`. |
| 555 | 555 | ||
| 556 | 556 | ||
