summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r--documentation/ref-manual/ref-variables.xml46
1 files changed, 38 insertions, 8 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index d4072f1b8d..262fd0b39a 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -4340,17 +4340,47 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
4340 4340
4341 <glossentry id='var-PACKAGE_CLASSES'><glossterm>PACKAGE_CLASSES</glossterm> 4341 <glossentry id='var-PACKAGE_CLASSES'><glossterm>PACKAGE_CLASSES</glossterm>
4342 <glossdef> 4342 <glossdef>
4343 <para>This variable, which is set in the <filename>local.conf</filename> configuration 4343 <para>
4344 file found in the <filename>conf</filename> folder of the 4344 This variable, which is set in the
4345 <filename>local.conf</filename> configuration file found in
4346 the <filename>conf</filename> folder of the
4345 <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>, 4347 <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>,
4346 specifies the package manager to use when packaging data. 4348 specifies the package manager the OpenEmbedded build system
4347 You can provide one or more arguments for the variable with the first 4349 uses when packaging data.
4348 argument being the package manager used to create images: 4350 </para>
4351
4352 <para>
4353 You can provide one or more of the following arguments for
4354 the variable:
4355 <literallayout class='monospaced'>
4356 PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk package_tar"
4357 </literallayout>
4358 The build system uses only the first argument in the list
4359 as the package manager when creating your image or SDK.
4360 However, packages will be created using any additional
4361 packaging classes you specify.
4362 For example, if you use the following in your
4363 <filename>local.conf</filename> file:
4349 <literallayout class='monospaced'> 4364 <literallayout class='monospaced'>
4350 PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" 4365 PACKAGE_CLASSES ?= "package_ipk package_tar"
4351 </literallayout> 4366 </literallayout>
4352 For information on build performance effects as a result of the 4367 The OpenEmbedded build system uses the IPK package manager
4353 package manager use, see the 4368 to create your image or SDK as well as generating
4369 TAR packages.
4370 </para>
4371
4372 <para>
4373 You cannot specify the
4374 <link linkend='ref-classes-package_tar'><filename>package_tar</filename></link>
4375 class first in the list.
4376 Files using the <filename>.tar</filename> format cannot
4377 be used as a substitute packaging format
4378 for DEB, RPM, and IPK formatted files for you image or SDK.
4379 </para>
4380
4381 <para>
4382 For information on packaging and build performance effects
4383 as a result of the package manager in use, see the
4354 "<link linkend='ref-classes-package'><filename>package.bbclass</filename></link>" 4384 "<link linkend='ref-classes-package'><filename>package.bbclass</filename></link>"
4355 section. 4385 section.
4356 </para> 4386 </para>