mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
ref-manual: Updates to "Maintaining Build Output Quality"
I modified a few areas to help integrate some newly documented BUILDHISTORY_* variables. Mostly some rewriting to feature some variables that help the user select build history features. (From yocto-docs rev: 8cb6a09ba7f0bd645a12e6f7a93247a9f0e77980) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2da4610ba7
commit
3e0d53269f
@@ -445,7 +445,9 @@
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The <filename>buildhistory</filename> class exists to help you maintain
|
||||
The
|
||||
<link linkend='ref-classes-buildhistory'><filename>buildhistory</filename></link>
|
||||
class exists to help you maintain
|
||||
the quality of your build output.
|
||||
You can use the class to highlight unexpected and possibly unwanted
|
||||
changes in the build output.
|
||||
@@ -506,8 +508,10 @@
|
||||
|
||||
<para>
|
||||
To disable the build history functionality without causing the
|
||||
packaging tasks to be re-run, add this statement to your
|
||||
<filename>conf/local.conf</filename> file:
|
||||
packaging tasks to be re-run, set the
|
||||
<link linkend='var-BUILDHISTORY_FEATURES'><filename>BUILDHISTORY_FEATURES</filename></link>
|
||||
variable as follows in your <filename>conf/local.conf</filename>
|
||||
file:
|
||||
<literallayout class='monospaced'>
|
||||
BUILDHISTORY_FEATURES = ""
|
||||
</literallayout>
|
||||
@@ -520,7 +524,9 @@
|
||||
<para>
|
||||
Build history information is kept in
|
||||
<filename>$</filename><link linkend='var-TMPDIR'><filename>TMPDIR</filename></link><filename>/buildhistory</filename>
|
||||
in the Build Directory.
|
||||
in the Build Directory as defined by the
|
||||
<link linkend='var-BUILDHISTORY_DIR'><filename>BUILDHISTORY_DIR</filename></link>
|
||||
variable.
|
||||
The following is an example abbreviated listing:
|
||||
<imagedata fileref="figures/buildhistory.png" align="center" width="6in" depth="4in" />
|
||||
</para>
|
||||
@@ -721,16 +727,19 @@
|
||||
including dependency graphs, so you can see why something
|
||||
was pulled into the image.
|
||||
If you are just interested in this information and not
|
||||
interested in collecting history or any package information,
|
||||
interested in collecting specific package or SDK information,
|
||||
you can enable writing only image information without
|
||||
any history by adding the following
|
||||
to your <filename>conf/local.conf</filename> file found in the
|
||||
any history by adding the following to your
|
||||
<filename>conf/local.conf</filename> file found in the
|
||||
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>:
|
||||
<literallayout class='monospaced'>
|
||||
INHERIT += "buildhistory"
|
||||
BUILDHISTORY_COMMIT = "0"
|
||||
BUILDHISTORY_FEATURES = "image"
|
||||
</literallayout>
|
||||
Here, you set the
|
||||
<link linkend='var-BUILDHISTORY_FEATURES'><filename>BUILDHISTORY_FEATURES</filename></link>
|
||||
variable to use the image feature only.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
@@ -741,6 +750,17 @@
|
||||
of SDKs (e.g., <filename>meta-toolchain</filename>
|
||||
or <filename>bitbake -c populate_sdk imagename</filename>)
|
||||
as compared to information it collects for images.
|
||||
If you want information on the SDK, you need to list that
|
||||
feature using the
|
||||
<link linkend='var-BUILDHISTORY_FEATURES'><filename>BUILDHISTORY_FEATURES</filename></link>
|
||||
variable as follows in your <filename>conf/local.conf</filename>
|
||||
file found in the
|
||||
<ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>:
|
||||
<literallayout class='monospaced'>
|
||||
INHERIT += "buildhistory"
|
||||
BUILDHISTORY_COMMIT = "0"
|
||||
BUILDHISTORY_FEATURES = "sdk"
|
||||
</literallayout>:
|
||||
The following list shows the files produced for each SDK:
|
||||
<itemizedlist>
|
||||
<listitem><para><filename>files-in-sdk.txt:</filename>
|
||||
|
||||
Reference in New Issue
Block a user