From 03d27e12dc18cc1a78b8992b4d2c39d9a5f153b7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 9 Dec 2013 16:46:12 -0600 Subject: [PATCH] ref-manual: Edits to IMAGE_PKGTYPE variable. (From yocto-docs rev: 7bcdae64b69067728dc89aebced40d18d7c973fb) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 34 +++++++++++++--------- 1 file 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 @@ Defines the package type (DEB, RPM, IPK, or TAR) used by the OpenEmbedded build system. The variable is defined appropriately by the - package_deb - class, the - package_rpm - class, the - package_ipk - class, or the + package_deb, + package_rpm, + package_ipk, + or package_tar - class as follows: - - IMAGE_PKGTYPE ?= "deb" - IMAGE_PKGTYPE ?= "ipk" - IMAGE_PKGTYPE ?= "rpm" - IMAGE_PKGTYPE ?= "tar" - + class. + + + The package_sdk_base and @@ -2690,6 +2685,19 @@ classes use the IMAGE_PKGTYPE for packaging up images and SDKs. + + + You should not set the IMAGE_PKGTYPE + manually. + Rather, the variable is set indirectly through the + appropriate + package_* + class using the + PACKAGE_CLASSES + variable. + The OpenEmbedded build system uses the first package type + (e.g. DEB, RPM, or IPK) that appears with the variable +