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:
parent
6e148e742f
commit
03d27e12dc
|
@ -2669,20 +2669,15 @@
|
|||
Defines the package type (DEB, RPM, IPK, or TAR) used
|
||||
by the OpenEmbedded build system.
|
||||
The variable is defined appropriately by the
|
||||
<link linkend='ref-classes-package_deb'><filename>package_deb</filename></link>
|
||||
class, the
|
||||
<link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link>
|
||||
class, the
|
||||
<link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>
|
||||
class, or the
|
||||
<link linkend='ref-classes-package_deb'><filename>package_deb</filename></link>,
|
||||
<link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link>,
|
||||
<link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>,
|
||||
or
|
||||
<link linkend='ref-classes-package_tar'><filename>package_tar</filename></link>
|
||||
class as follows:
|
||||
<literallayout class='monospaced'>
|
||||
IMAGE_PKGTYPE ?= "deb"
|
||||
IMAGE_PKGTYPE ?= "ipk"
|
||||
IMAGE_PKGTYPE ?= "rpm"
|
||||
IMAGE_PKGTYPE ?= "tar"
|
||||
</literallayout>
|
||||
class.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The
|
||||
<link linkend='ref-classes-populate-sdk-*'><filename>package_sdk_base</filename></link>
|
||||
and
|
||||
|
@ -2690,6 +2685,19 @@
|
|||
classes use the <filename>IMAGE_PKGTYPE</filename> for
|
||||
packaging up images and SDKs.
|
||||
</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>
|
||||
</glossentry>
|
||||
|
||||
|
|
Loading…
Reference in New Issue