ref-manual: Edits to IMAGE_PKGTYPE variable.

(From yocto-docs rev: 7bcdae64b69067728dc89aebced40d18d7c973fb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-12-09 16:46:12 -06:00 committed by Richard Purdie
parent 6e148e742f
commit 03d27e12dc
1 changed files with 21 additions and 13 deletions

View File

@ -2669,20 +2669,15 @@
Defines the package type (DEB, RPM, IPK, or TAR) used Defines the package type (DEB, RPM, IPK, or TAR) used
by the OpenEmbedded build system. by the OpenEmbedded build system.
The variable is defined appropriately by the The variable is defined appropriately by the
<link linkend='ref-classes-package_deb'><filename>package_deb</filename></link> <link linkend='ref-classes-package_deb'><filename>package_deb</filename></link>,
class, the <link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link>,
<link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link> <link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>,
class, the or
<link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>
class, or the
<link linkend='ref-classes-package_tar'><filename>package_tar</filename></link> <link linkend='ref-classes-package_tar'><filename>package_tar</filename></link>
class as follows: class.
<literallayout class='monospaced'> </para>
IMAGE_PKGTYPE ?= "deb"
IMAGE_PKGTYPE ?= "ipk" <para>
IMAGE_PKGTYPE ?= "rpm"
IMAGE_PKGTYPE ?= "tar"
</literallayout>
The The
<link linkend='ref-classes-populate-sdk-*'><filename>package_sdk_base</filename></link> <link linkend='ref-classes-populate-sdk-*'><filename>package_sdk_base</filename></link>
and and
@ -2690,6 +2685,19 @@
classes use the <filename>IMAGE_PKGTYPE</filename> for classes use the <filename>IMAGE_PKGTYPE</filename> for
packaging up images and SDKs. packaging up images and SDKs.
</para> </para>
<para>
You should not set the <filename>IMAGE_PKGTYPE</filename>
manually.
Rather, the variable is set indirectly through the
appropriate
<link linkend='ref-classes-package'><filename>package_*</filename></link>
class using the
<link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link>
variable.
The OpenEmbedded build system uses the first package type
(e.g. DEB, RPM, or IPK) that appears with the variable
</para>
</glossdef> </glossdef>
</glossentry> </glossentry>