diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-09 11:42:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-13 23:57:21 +0100 |
commit | eb4d0afa6841c787f20942b4e132e04e3dd888a5 (patch) | |
tree | 70cb9938f5db8a25e1a121a8301faf6efc154d6c /documentation | |
parent | 6938af111e2af2988cb203427e6cfb1b91227f1f (diff) | |
download | poky-eb4d0afa6841c787f20942b4e132e04e3dd888a5.tar.gz |
ref-manual/ref-classes: add note to insane.bbclass section on INSANE_SKIP
Performed a few edits to clean up some sentences. Broke one long
sentence up into two.
(From yocto-docs rev: 7641113906e062b751abb5366827fe302ec4a2b9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 9f344a63cd..3abf3e73a8 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -584,6 +584,25 @@ | |||
584 | the specification for <filename>.desktop</filename> files.</para></listitem> | 584 | the specification for <filename>.desktop</filename> files.</para></listitem> |
585 | </itemizedlist> | 585 | </itemizedlist> |
586 | </para> | 586 | </para> |
587 | <note> | ||
588 | You can use the <filename>WARN_QA</filename> and | ||
589 | <filename>ERROR_QA</filename> variables to control the behavior of | ||
590 | these checks at the global level (i.e. in your custom distro | ||
591 | configuration). | ||
592 | However, to skip one or more checks in recipes, you should use | ||
593 | <filename>INSANE_SKIP</filename>. | ||
594 | For example, to skip the check for symbolic link | ||
595 | <filename>.so</filename> files in the main package of a recipe, | ||
596 | add the following to the recipe. | ||
597 | You need to realize that the package name override, in this example | ||
598 | <filename>${PN}</filename>, must be used: | ||
599 | <literallayout class='monospaced'> | ||
600 | INSANE_SKIP_${PN} += "dev-so" | ||
601 | </literallayout> | ||
602 | Please keep in mind that the QA checks exist in order to detect real | ||
603 | or potential problems in the packaged output. | ||
604 | So exercise caution when disabling these checks. | ||
605 | </note> | ||
587 | </section> | 606 | </section> |
588 | 607 | ||
589 | <section id='ref-classes-rm-work'> | 608 | <section id='ref-classes-rm-work'> |