mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
dev-manual, ref-manual: removed "distrodata" class
Ousted these since it was noted in the migration section that the class had been removed. Modified all references to the removed class as needed. (From yocto-docs rev: 7000acc76da6b7ee850b799347ab9083663c7e6a) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d4fc8cf7ae
commit
f21fc9d1be
@@ -4319,12 +4319,6 @@
|
|||||||
directory you just created for AUH.
|
directory you just created for AUH.
|
||||||
Make these following configurations:
|
Make these following configurations:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>
|
|
||||||
Enable "distrodata" as follows:
|
|
||||||
<literallayout class='monospaced'>
|
|
||||||
INHERIT =+ "distrodata"
|
|
||||||
</literallayout>
|
|
||||||
</para></listitem>
|
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
If you want to enable
|
If you want to enable
|
||||||
<ulink url='&YOCTO_DOCS_DEV_URL;#maintaining-build-output-quality'>Build History</ulink>,
|
<ulink url='&YOCTO_DOCS_DEV_URL;#maintaining-build-output-quality'>Build History</ulink>,
|
||||||
|
|||||||
@@ -2566,9 +2566,7 @@
|
|||||||
<link linkend='oe-core'>OE-Core</link>.
|
<link linkend='oe-core'>OE-Core</link>.
|
||||||
The change includes <filename>package_regex.inc</filename> and
|
The change includes <filename>package_regex.inc</filename> and
|
||||||
<filename>distro_alias.inc</filename>, which are typically enabled
|
<filename>distro_alias.inc</filename>, which are typically enabled
|
||||||
when using the
|
when using the <filename>distrodata</filename> class.
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
|
||||||
class.
|
|
||||||
Additionally, the contents of
|
Additionally, the contents of
|
||||||
<filename>upstream_tracking.inc</filename> has now been split out
|
<filename>upstream_tracking.inc</filename> has now been split out
|
||||||
to the relevant recipes.
|
to the relevant recipes.
|
||||||
|
|||||||
@@ -714,39 +714,6 @@
|
|||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='ref-classes-distrodata'>
|
|
||||||
<title><filename>distrodata.bbclass</filename></title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The <filename>distrodata</filename> class
|
|
||||||
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
|
|
||||||
<link linkend='ref-tasks-distrodata'><filename>do_distrodata</filename></link>
|
|
||||||
and
|
|
||||||
<filename>do_distro_check</filename> tasks, which do upstream checking
|
|
||||||
and also verify if a package is used in multiple major distributions.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The class is not included by default.
|
|
||||||
To use it, you must set the
|
|
||||||
<link linkend='var-INHERIT'><filename>INHERIT</filename></link>
|
|
||||||
variable:
|
|
||||||
<literallayout class='monospaced'>
|
|
||||||
INHERIT+= "distrodata"
|
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The <filename>distrodata</filename> class also provides the
|
|
||||||
<link linkend='ref-tasks-checkpkg'><filename>do_checkpkg</filename></link>
|
|
||||||
task, which can be used against a simple recipe or against an
|
|
||||||
image to get all its recipe information.
|
|
||||||
</para>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id='ref-classes-distutils'>
|
<section id='ref-classes-distutils'>
|
||||||
<title><filename>distutils*.bbclass</filename></title>
|
<title><filename>distutils*.bbclass</filename></title>
|
||||||
|
|
||||||
|
|||||||
@@ -158,32 +158,6 @@
|
|||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='ref-tasks-distrodata'>
|
|
||||||
<title><filename>do_distrodata</filename></title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Provides information about the recipe.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The <filename>distrodata</filename> task is included as part of the
|
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
|
||||||
class.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
To build the <filename>distrodata</filename> task, use the
|
|
||||||
<filename>bitbake</filename> command with the "-c" option and
|
|
||||||
task name:
|
|
||||||
<literallayout class='monospaced'>
|
|
||||||
$ bitbake core-image-minimal -c distrodata
|
|
||||||
</literallayout>
|
|
||||||
By default, the results are stored in
|
|
||||||
<link linkend='var-LOG_DIR'><filename>$LOG_DIR</filename></link>
|
|
||||||
(e.g. <filename>$BUILD_DIR/tmp/log</filename>).
|
|
||||||
</para>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id='ref-tasks-fetch'>
|
<section id='ref-tasks-fetch'>
|
||||||
<title><filename>do_fetch</filename></title>
|
<title><filename>do_fetch</filename></title>
|
||||||
|
|
||||||
@@ -636,9 +610,15 @@
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <filename>checkpkg</filename> task is included as part of the
|
To check the upstream version and status of a recipe, use the
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
following devtool commands:
|
||||||
class.
|
<literallayout class='monospaced'>
|
||||||
|
$ devtool latest-version
|
||||||
|
$ devtool check-upgrade-status
|
||||||
|
</literallayout>
|
||||||
|
See the
|
||||||
|
"<link linkend='ref-devtool-reference'><filename>devtool</filename> Quick Reference</link>"
|
||||||
|
chapter for more information on <filename>devtool</filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
|||||||
@@ -16629,16 +16629,16 @@
|
|||||||
<glossdef>
|
<glossdef>
|
||||||
<para role="glossdeffirst">
|
<para role="glossdeffirst">
|
||||||
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
||||||
When the
|
You can perform a per-recipe check for what the latest
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
upstream source code version is by calling
|
||||||
class is enabled globally, you can perform a per-recipe
|
|
||||||
check for what the latest upstream source code version is
|
|
||||||
by calling
|
|
||||||
<filename>bitbake -c checkpkg</filename> <replaceable>recipe</replaceable>.
|
<filename>bitbake -c checkpkg</filename> <replaceable>recipe</replaceable>.
|
||||||
If the recipe source code is provided from Git
|
If the recipe source code is provided from Git
|
||||||
repositories, the OpenEmbedded build system determines the
|
repositories, the OpenEmbedded build system determines the
|
||||||
latest upstream version by picking the latest tag from the
|
latest upstream version by picking the latest tag from the
|
||||||
list of all repository tags.
|
list of all repository tags.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
You can use the
|
You can use the
|
||||||
<filename>UPSTREAM_CHECK_GITTAGREGEX</filename>
|
<filename>UPSTREAM_CHECK_GITTAGREGEX</filename>
|
||||||
variable to provide a regular expression to filter only the
|
variable to provide a regular expression to filter only the
|
||||||
@@ -16658,11 +16658,8 @@
|
|||||||
<glossdef>
|
<glossdef>
|
||||||
<para role="glossdeffirst">
|
<para role="glossdeffirst">
|
||||||
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
||||||
When the
|
Use the <filename>UPSTREAM_CHECK_REGEX</filename> variable
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
to specify a different regular expression instead of the
|
||||||
class is enabled globally, use the
|
|
||||||
<filename>UPSTREAM_CHECK_REGEX</filename> variable to
|
|
||||||
specify a different regular expression instead of the
|
|
||||||
default one when the package checking system is parsing
|
default one when the package checking system is parsing
|
||||||
the page found using
|
the page found using
|
||||||
<link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>.
|
<link linkend='var-UPSTREAM_CHECK_URI'><filename>UPSTREAM_CHECK_URI</filename></link>.
|
||||||
@@ -16680,12 +16677,9 @@
|
|||||||
<glossdef>
|
<glossdef>
|
||||||
<para role="glossdeffirst">
|
<para role="glossdeffirst">
|
||||||
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
|
||||||
When the
|
You can perform a per-recipe check for what the latest
|
||||||
<link linkend='ref-classes-distrodata'><filename>distrodata</filename></link>
|
upstream source code version is by calling
|
||||||
class is enabled globally, you can perform a per-recipe
|
<filename>bitbake -c checkpkg</filename> <replaceable>recipe</replaceable>.
|
||||||
check for what the latest upstream source code version is
|
|
||||||
by calling <filename>bitbake -c checkpkg</filename>
|
|
||||||
<replaceable>recipe</replaceable>.
|
|
||||||
If the source code is provided from tarballs, the latest
|
If the source code is provided from tarballs, the latest
|
||||||
version is determined by fetching the directory listing
|
version is determined by fetching the directory listing
|
||||||
where the tarball is and attempting to find a later tarball.
|
where the tarball is and attempting to find a later tarball.
|
||||||
|
|||||||
Reference in New Issue
Block a user