From 0c0ac7dd3af04610ca740817224d8c57ccd2fba5 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 13 Aug 2013 15:15:55 +0300 Subject: ref-manual: Updates to insane.bbclass and two new variables added. * Updated the insane.bbclass section to move the note at the end about using ERROR_QA and WARN_QA to control how the checks are reported to the front of the section. * Added new variable entries for WARN_QA and ERROR_QA. (From yocto-docs rev: 6f220d1ba3d44a1bba2f1ac882cdf6b601ddc5bb) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 58 +++++++++++++++--------------- documentation/ref-manual/ref-variables.xml | 32 ++++++++++++++++- 2 files changed, 60 insertions(+), 30 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 7a5a5ddb58..5d1e3ed1b4 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -466,20 +466,39 @@ - You can configure the sanity checks so that specific test failures either raise a warning or - an error message. + You can configure the sanity checks so that specific test failures + either raise a warning or an error message. Typically, failures for new tests generate a warning. - Subsequent failures for the same test would then generate an error message - once the metadata is in a known and good condition. - You use the WARN_QA variable to specify tests for which you - want to generate a warning message on failure. - You use the ERROR_QA variable to specify tests for which you - want to generate an error message on failure. + Subsequent failures for the same test would then generate an error + message once the metadata is in a known and good condition. - The following list shows the tests you can list with the WARN_QA - and ERROR_QA variables: + Use the + WARN_QA and + ERROR_QA + variables to control the behavior of + these checks at the global level (i.e. in your custom distro + configuration). + However, to skip one or more checks in recipes, you should use + INSANE_SKIP. + For example, to skip the check for symbolic link + .so files in the main package of a recipe, + add the following to the recipe. + You need to realize that the package name override, in this example + ${PN}, must be used: + + INSANE_SKIP_${PN} += "dev-so" + + Please keep in mind that the QA checks exist in order to detect real + or potential problems in the packaged output. + So exercise caution when disabling these checks. + + + + The following list shows the tests you can list with the + WARN_QA and ERROR_QA + variables: ldflags: Ensures that the binaries were linked with the @@ -780,25 +799,6 @@ - - You can use the WARN_QA and - ERROR_QA variables to control the behavior of - these checks at the global level (i.e. in your custom distro - configuration). - However, to skip one or more checks in recipes, you should use - INSANE_SKIP. - For example, to skip the check for symbolic link - .so files in the main package of a recipe, - add the following to the recipe. - You need to realize that the package name override, in this example - ${PN}, must be used: - - INSANE_SKIP_${PN} += "dev-so" - - Please keep in mind that the QA checks exist in order to detect real - or potential problems in the packaged output. - So exercise caution when disabling these checks. -
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 099846412b..266e18f7ea 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -38,7 +38,7 @@ T - W + W @@ -1199,6 +1199,21 @@ Core layer for images cannot be removed + ERROR_QA + + + Specifies the quality assurance checks whose failures are + reported as errors by the OpenEmbedded build system. + You set this variable in your distribution configuration + file. + For a list of the checks you can control with this variable, + see the + "insane.bbclass" + section. + + + + EXCLUDE_FROM_WORLD @@ -4771,6 +4786,21 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" W + WARN_QA + + + Specifies the quality assurance checks whose failures are + reported as warnings by the OpenEmbedded build system. + You set this variable in your distribution configuration + file. + For a list of the checks you can control with this variable, + see the + "insane.bbclass" + section. + + + + WORKDIR -- cgit v1.2.3-54-g00ecf