From 6192753e9df88100c8ba5867c20995d9a5f86d51 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 27 Apr 2015 15:20:28 -0700 Subject: ref-manual; mega-manual: Edits to further define packaging process In response to community input where developers were attempting to locate information on how to write packages out to a directory other than ${DEPLOY_DIR}/, I updated the "Package Feeds" section, added several new DEPLOY_DIR_* variables, updated four classes, and updated four tasks. Here are some details: * Made changes to the "Package Feeds" section to provide more accurate information in the package feeds directory structure used by the build system in build/tmp. These changes included updating the figure itself and some explanatory text. * Updated the DEPLOY_DIR variable description. * Added new variable descriptions for DEPLOY_DIR_DEB, DEPLOY_DIR_IPK, DEPLOY_DIR_RPM, and DEPLOY_DIR_TAR. * Updated the related classes: package_deb, package_ipk, package_rpm, and package_tar. * Updated the related tasks: do_package_write_deb, do_package_write_ipk, do_package_write_rpm, and do_package_write_tar. Reported-by: Trieu Nguyen (From yocto-docs rev: e8742267506bf9359346cfcd3965f762ed2c7d6f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 51 +++++++++++++++----------------- 1 file changed, 24 insertions(+), 27 deletions(-) (limited to 'documentation/ref-manual/ref-classes.xml') diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 880badda73..4eb61c5ba5 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -2263,11 +2263,12 @@ The package_deb class - provides support for creating packages that use the - .deb file format. - The class ensures the packages are written out to the - ${DEPLOY_DIR}/deb - directory in a .deb file format. + provides support for creating packages that use the Debian + (i.e. .deb) file format. + The class ensures the packages are written out in a + .deb file format to the + ${DEPLOY_DIR_DEB} + directory. @@ -2284,11 +2285,12 @@ The package_ipk class - provides support for creating packages that use the - .ipk file format. - The class ensures the packages are written out to the - ${DEPLOY_DIR}/ipk - directory in a .ipk file format. + provides support for creating packages that use the IPK + (i.e. .ipk) file format. + The class ensures the packages are written out in a + .ipk file format to the + ${DEPLOY_DIR_IPK} + directory. @@ -2305,11 +2307,12 @@ The package_rpm class - provides support for creating packages that use the - .rpm file format. - The class ensures the packages are written out to the - ${DEPLOY_DIR}/rpm - directory in a .rpm file format. + provides support for creating packages that use the RPM + (i.e. .rpm) file format. + The class ensures the packages are written out in a + .rpm file format to the + ${DEPLOY_DIR_RPM} + directory. @@ -2324,19 +2327,13 @@
<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 - .tar file format. - The class ensures the packages are written out to the - ${DEPLOY_DIR}/tar - directory in a .tar file format. + The package_tar class + provides support for creating tarballs. + The class ensures the packages are written out in a + tarball format to the + ${DEPLOY_DIR_TAR} + directory. -- cgit v1.2.3-54-g00ecf