From 33b01c502fa0e408a1f18631454af739dbd2adb4 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 19 Jul 2016 13:48:26 -0700 Subject: ref-manual: Added 3 new QA sanity checks. Fixes [YOCTO #9983] Added the host-user-contaminated, invalid-chars, and invalid-packageconfig QA checks. (From yocto-docs rev: 5bd28f9386a8afff435254788fbce73a7fc48305) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 30 ++++++++++++++++++++++++++++++ documentation/ref-manual/ref-tasks.xml | 3 ++- 2 files changed, 32 insertions(+), 1 deletion(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index c58c56755b..1d6c45d356 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -1606,6 +1606,17 @@ FILES variable values that contain "//", which is invalid. + host-user-contaminated: + Checks that no package produced by the recipe contains any + files outside of /home with a user or + group ID that matches the user running BitBake. + A match usually indicates that the files are being installed + with an incorrect UID/GID, since target IDs are independent + from host IDs. + For additional information, see the section describing the + do_install + task. + incompatible-license: Report when packages are excluded from being created due to being marked with a license that is in @@ -1633,6 +1644,25 @@ do_install if the files are not needed in any package. + invalid-chars: + Checks that the recipe metadata variables + DESCRIPTION, + SUMMARY, + LICENSE, + and + SECTION + do not contain non-UTF-8 characters. + Some package managers do not support such characters. + + invalid-packageconfig: + Checks that no undefined features are being added to + PACKAGECONFIG. + For example, any name "foo" for which the following form + does not exist: + + PACKAGECONFIG[foo] = "..." + + la: Checks .la files for any TMPDIR paths. diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml index d180eee7bb..22c1e26eb9 100644 --- a/documentation/ref-manual/ref-tasks.xml +++ b/documentation/ref-manual/ref-tasks.xml @@ -300,7 +300,8 @@ recursive cp command, can preserve the UID and/or GID of the original file, which is usually not what you want. - The host-user-contaminated + The + host-user-contaminated QA check checks for files that probably have the wrong ownership. -- cgit v1.2.3-54-g00ecf