generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/build-history-image-informa...

81 lines
4.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>2.4.2.2. Build History Image Information</title>
<link rel="stylesheet" type="text/css" href="../book.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
<link rel="up" href="understanding-what-the-build-history-contains.html" title="2.4.2. Understanding What the Build History Contains">
<link rel="prev" href="build-history-package-information.html" title="2.4.2.1. Build History Package Information">
<link rel="next" href="using-build-history-to-gather-image-information-only.html" title="2.4.2.3. Using Build History to Gather Image Information Only">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="2.4.2.2. Build History Image Information">
<div class="titlepage"><div><div><h4 class="title">
<a name="build-history-image-information"></a>2.4.2.2. Build History Image Information</h4></div></div></div>
<p>
The files produced for each image are as follows:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem"><p><span class="emphasis"><em>build-id:</em></span>
Human-readable information about the build configuration
and metadata source revisions.</p></li>
<li class="listitem"><p><span class="emphasis"><em>*.dot:</em></span>
Dependency graphs for the image that are
compatible with <code class="filename">graphviz</code>.
</p></li>
<li class="listitem"><p><span class="emphasis"><em>files-in-image.txt:</em></span>
A list of files in the image with permissions,
owner, group, size, and symlink information.
</p></li>
<li class="listitem"><p><span class="emphasis"><em>image-info.txt:</em></span>
A text file containing name-value pairs with information
about the image.
See the following listing example for more information.
</p></li>
<li class="listitem"><p><span class="emphasis"><em>installed-package-names.txt:</em></span>
A list of installed packages by name only.</p></li>
<li class="listitem"><p><span class="emphasis"><em>installed-package-sizes.txt:</em></span>
A list of installed packages ordered by size.
</p></li>
<li class="listitem"><p><span class="emphasis"><em>installed-packages.txt:</em></span>
A list of installed packages with fuill package
filenames.</p></li>
</ul></div>
<p>
</p>
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
Installed package information is able to be gathered and
produced even if package management is disabled for the final
image.
</div>
<p>
</p>
<p>
Here is an example of <code class="filename">image-info.txt</code>:
</p>
<pre class="literallayout">
DISTRO = poky
DISTRO_VERSION = 1.1+snapshot-20120207
USER_CLASSES = image-mklibs image-prelink
IMAGE_CLASSES = image_types
IMAGE_FEATURES = debug-tweaks x11-base apps-x11-core \
package-management ssh-server-dropbear package-management
IMAGE_LINGUAS = en-us en-gb
IMAGE_INSTALL = task-core-boot task-base-extended
BAD_RECOMMENDATIONS =
ROOTFS_POSTPROCESS_COMMAND = buildhistory_get_image_installed ; rootfs_update_timestamp ;
IMAGE_POSTPROCESS_COMMAND = buildhistory_get_imageinfo ;
IMAGESIZE = 171816
</pre>
<p>
Other than <code class="filename">IMAGESIZE</code>, which is the
total size of the files in the image in Kbytes, the
name-value pairs are variables that may have influenced the
content of the image.
This information is often useful when you are trying to determine
why a change in the package or file listings has occurred.
</p>
</div></body>
</html>