From c9b7007f27fb4f8a025f4b9eaf1eb087792dc763 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 19 Jan 2015 14:54:21 -0800 Subject: ref-manual: Added warnings about using package_tar This option to the PACKAGE_CLASSES variable is broken and not supported. I added several warnings saying such. We opted to keep the documentation rather than eliminating it completely to prevent questions should someone find the code and wonder why it is not documented. Reported-by: Robert P. J. Day (From yocto-docs rev: 1acf3da2034c4c3f74acee1ccb375f0450ed90a0) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 11 +++++++++++ documentation/ref-manual/ref-variables.xml | 25 +++++++++++++------------ 2 files changed, 24 insertions(+), 12 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index fed25b25e6..54691ec9f6 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -2160,6 +2160,11 @@ package_ipk, and package_tar. + Warning + The package_tar class is broken and not + supported. + It is recommended that you do not use this class. + @@ -2298,6 +2303,12 @@
<filename>package_tar.bbclass</filename> + Warning + The package_tar class is broken and is not + supported. + It is recommended that you do not use it. + + The package_tar class provides support for creating packages that use the diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 281c4e3e2d..337c3f4397 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -4444,6 +4444,11 @@ or package_tar class. + Warning + The package_tar class is broken + and is not supported. + It is recommended that you do not use it. + @@ -6932,6 +6937,12 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk package_tar" + Warning + While it is a legal option, the + package_tar class is broken + and is not supported. + It is recommended that you do not use it. + The build system uses only the first argument in the list as the package manager when creating your image or SDK. However, packages will be created using any additional @@ -6939,20 +6950,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" For example, if you use the following in your local.conf file: - PACKAGE_CLASSES ?= "package_ipk package_tar" + PACKAGE_CLASSES ?= "package_ipk" The OpenEmbedded build system uses the IPK package manager - to create your image or SDK as well as generating - TAR packages. - - - - You cannot specify the - package_tar - class first in the list. - Files using the .tar format cannot - be used as a substitute packaging format - for DEB, RPM, and IPK formatted files for your image or SDK. + to create your image or SDK. -- cgit v1.2.3-54-g00ecf