From b44d9e553a84e07e34c2c1a74523473631e8e1d5 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 22 Mar 2016 12:10:18 -0700 Subject: [PATCH] ref-manual: Created distrodata and checkpkg tasks, updated distrodata class Fixes [YOCTO #7894] I created two new task reference sections: distrodata and checkpkg. Also, updated the distrodata class description to reflect the presence of these new tasks. (From yocto-docs rev: 3896cbf640d296dafb5eda37f89bba31a47ca8a5) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 11 ++++- documentation/ref-manual/ref-tasks.xml | 56 ++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 3f387a3e1a..71df79fa62 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -714,7 +714,9 @@ provides for automatic checking for upstream recipe updates. The class creates a comma-separated value (CSV) spreadsheet that contains information about the recipes. - The information provides the do_distrodata and + The information provides the + do_distrodata + and do_distro_check tasks, which do upstream checking and also verify if a package is used in multiple major distributions. @@ -728,6 +730,13 @@ INHERIT+= "distrodata" + + + The distrodata class also provides the + do_checkpkg + task, which can be used against a simple recipe or against an + image to get all its recipe information. +
diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml index b2ecc66269..c46debb55b 100644 --- a/documentation/ref-manual/ref-tasks.xml +++ b/documentation/ref-manual/ref-tasks.xml @@ -31,6 +31,36 @@
+
+ <filename>do_checkpkg</filename> + + + Provides information about the recipe including its upstream + version and status. + The upstream version and status reveals whether or not a version + of the recipe exists upstream and a status of not updated, updated, + or unknown. + + + + The checkpkg task is included as part of the + distrodata + class. + + + + To build the checkpkg task, use the + bitbake command with the "-c" option and + task name: + + $ bitbake core-image-minimal -c checkpkg + + By default, the results are stored in + $LOG_DIR + (e.g. $BUILD_DIR/tmp/log). + +
+
<filename>do_compile</filename> @@ -87,6 +117,32 @@
+
+ <filename>do_distrodata</filename> + + + Provides information about the recipe. + + + + The distrodata task is included as part of the + distrodata + class. + + + + To build the distrodata task, use the + bitbake command with the "-c" option and + task name: + + $ bitbake core-image-minimal -c distrodata + + By default, the results are stored in + $LOG_DIR + (e.g. $BUILD_DIR/tmp/log). + +
+
<filename>do_fetch</filename>