diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-04-27 15:20:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-03 11:49:34 +0100 |
commit | 6192753e9df88100c8ba5867c20995d9a5f86d51 (patch) | |
tree | f4c7b061ea1f784406ae43795200b1744ff1f48f /documentation/ref-manual/ref-classes.xml | |
parent | a2d770b58a33e293a2e3a0aeb7ee4772b37a1ea9 (diff) | |
download | poky-6192753e9df88100c8ba5867c20995d9a5f86d51.tar.gz |
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}/<package_type>, 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 <trieu.t.nguyen@intel.com>
(From yocto-docs rev: e8742267506bf9359346cfcd3965f762ed2c7d6f)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-classes.xml')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 51 |
1 files changed, 24 insertions, 27 deletions
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 @@ | |||
2263 | 2263 | ||
2264 | <para> | 2264 | <para> |
2265 | The <filename>package_deb</filename> class | 2265 | The <filename>package_deb</filename> class |
2266 | provides support for creating packages that use the | 2266 | provides support for creating packages that use the Debian |
2267 | <filename>.deb</filename> file format. | 2267 | (i.e. <filename>.deb</filename>) file format. |
2268 | The class ensures the packages are written out to the | 2268 | The class ensures the packages are written out in a |
2269 | <filename>${</filename><link linkend='var-DEPLOY_DIR'><filename>DEPLOY_DIR</filename></link><filename>}/deb</filename> | 2269 | <filename>.deb</filename> file format to the |
2270 | directory in a <filename>.deb</filename> file format. | 2270 | <filename>${</filename><link linkend='var-DEPLOY_DIR_DEB'><filename>DEPLOY_DIR_DEB</filename></link><filename>}</filename> |
2271 | directory. | ||
2271 | </para> | 2272 | </para> |
2272 | 2273 | ||
2273 | <para> | 2274 | <para> |
@@ -2284,11 +2285,12 @@ | |||
2284 | 2285 | ||
2285 | <para> | 2286 | <para> |
2286 | The <filename>package_ipk</filename> class | 2287 | The <filename>package_ipk</filename> class |
2287 | provides support for creating packages that use the | 2288 | provides support for creating packages that use the IPK |
2288 | <filename>.ipk</filename> file format. | 2289 | (i.e. <filename>.ipk</filename>) file format. |
2289 | The class ensures the packages are written out to the | 2290 | The class ensures the packages are written out in a |
2290 | <filename>${</filename><link linkend='var-DEPLOY_DIR'><filename>DEPLOY_DIR</filename></link><filename>}/ipk</filename> | 2291 | <filename>.ipk</filename> file format to the |
2291 | directory in a <filename>.ipk</filename> file format. | 2292 | <filename>${</filename><link linkend='var-DEPLOY_DIR_IPK'><filename>DEPLOY_DIR_IPK</filename></link><filename>}</filename> |
2293 | directory. | ||
2292 | </para> | 2294 | </para> |
2293 | 2295 | ||
2294 | <para> | 2296 | <para> |
@@ -2305,11 +2307,12 @@ | |||
2305 | 2307 | ||
2306 | <para> | 2308 | <para> |
2307 | The <filename>package_rpm</filename> class | 2309 | The <filename>package_rpm</filename> class |
2308 | provides support for creating packages that use the | 2310 | provides support for creating packages that use the RPM |
2309 | <filename>.rpm</filename> file format. | 2311 | (i.e. <filename>.rpm</filename>) file format. |
2310 | The class ensures the packages are written out to the | 2312 | The class ensures the packages are written out in a |
2311 | <filename>${</filename><link linkend='var-DEPLOY_DIR'><filename>DEPLOY_DIR</filename></link><filename>}/rpm</filename> | 2313 | <filename>.rpm</filename> file format to the |
2312 | directory in a <filename>.rpm</filename> file format. | 2314 | <filename>${</filename><link linkend='var-DEPLOY_DIR_RPM'><filename>DEPLOY_DIR_RPM</filename></link><filename>}</filename> |
2315 | directory. | ||
2313 | </para> | 2316 | </para> |
2314 | 2317 | ||
2315 | <para> | 2318 | <para> |
@@ -2324,19 +2327,13 @@ | |||
2324 | <section id='ref-classes-package_tar'> | 2327 | <section id='ref-classes-package_tar'> |
2325 | <title><filename>package_tar.bbclass</filename></title> | 2328 | <title><filename>package_tar.bbclass</filename></title> |
2326 | 2329 | ||
2327 | <note><title>Warning</title> | ||
2328 | The <filename>package_tar</filename> class is broken and is not | ||
2329 | supported. | ||
2330 | It is recommended that you do not use it. | ||
2331 | </note> | ||
2332 | |||
2333 | <para> | 2330 | <para> |
2334 | The <filename>package_tar</filename> | 2331 | The <filename>package_tar</filename> class |
2335 | class provides support for creating packages that use the | 2332 | provides support for creating tarballs. |
2336 | <filename>.tar</filename> file format. | 2333 | The class ensures the packages are written out in a |
2337 | The class ensures the packages are written out to the | 2334 | tarball format to the |
2338 | <filename>${</filename><link linkend='var-DEPLOY_DIR'><filename>DEPLOY_DIR</filename></link><filename>}/tar</filename> | 2335 | <filename>${</filename><link linkend='var-DEPLOY_DIR_TAR'><filename>DEPLOY_DIR_TAR</filename></link><filename>}</filename> |
2339 | directory in a <filename>.tar</filename> file format. | 2336 | directory. |
2340 | </para> | 2337 | </para> |
2341 | 2338 | ||
2342 | <para> | 2339 | <para> |