summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-12-09 16:46:12 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-11 14:19:32 +0000
commit56852f8f1864b6e8e7b0df71c40ab329d2e4024a (patch)
treeadf1a1c461658f52823d4011d727a13aa596b9c0
parent1378121b1cae6d20abbb376131906f4d330d1938 (diff)
downloadpoky-56852f8f1864b6e8e7b0df71c40ab329d2e4024a.tar.gz
ref-manual: Edits to IMAGE_PKGTYPE variable.
(From yocto-docs rev: dcc10d82a5cf80cd14a544171e4506a02b4ef26e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/ref-variables.xml34
1 files changed, 21 insertions, 13 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 78036dcf19..b9b0dfc09a 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -2669,20 +2669,15 @@
2669 Defines the package type (DEB, RPM, IPK, or TAR) used 2669 Defines the package type (DEB, RPM, IPK, or TAR) used
2670 by the OpenEmbedded build system. 2670 by the OpenEmbedded build system.
2671 The variable is defined appropriately by the 2671 The variable is defined appropriately by the
2672 <link linkend='ref-classes-package_deb'><filename>package_deb</filename></link> 2672 <link linkend='ref-classes-package_deb'><filename>package_deb</filename></link>,
2673 class, the 2673 <link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link>,
2674 <link linkend='ref-classes-package_rpm'><filename>package_rpm</filename></link> 2674 <link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>,
2675 class, the 2675 or
2676 <link linkend='ref-classes-package_ipk'><filename>package_ipk</filename></link>
2677 class, or the
2678 <link linkend='ref-classes-package_tar'><filename>package_tar</filename></link> 2676 <link linkend='ref-classes-package_tar'><filename>package_tar</filename></link>
2679 class as follows: 2677 class.
2680 <literallayout class='monospaced'> 2678 </para>
2681 IMAGE_PKGTYPE ?= "deb" 2679
2682 IMAGE_PKGTYPE ?= "ipk" 2680 <para>
2683 IMAGE_PKGTYPE ?= "rpm"
2684 IMAGE_PKGTYPE ?= "tar"
2685 </literallayout>
2686 The 2681 The
2687 <link linkend='ref-classes-populate-sdk-*'><filename>package_sdk_base</filename></link> 2682 <link linkend='ref-classes-populate-sdk-*'><filename>package_sdk_base</filename></link>
2688 and 2683 and
@@ -2690,6 +2685,19 @@
2690 classes use the <filename>IMAGE_PKGTYPE</filename> for 2685 classes use the <filename>IMAGE_PKGTYPE</filename> for
2691 packaging up images and SDKs. 2686 packaging up images and SDKs.
2692 </para> 2687 </para>
2688
2689 <para>
2690 You should not set the <filename>IMAGE_PKGTYPE</filename>
2691 manually.
2692 Rather, the variable is set indirectly through the
2693 appropriate
2694 <link linkend='ref-classes-package'><filename>package_*</filename></link>
2695 class using the
2696 <link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link>
2697 variable.
2698 The OpenEmbedded build system uses the first package type
2699 (e.g. DEB, RPM, or IPK) that appears with the variable
2700 </para>
2693 </glossdef> 2701 </glossdef>
2694 </glossentry> 2702 </glossentry>
2695 2703