diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-04-16 09:47:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-17 22:34:17 +0100 |
commit | a68970ebb71674f8dbf65e9a6c28d4f93d7df206 (patch) | |
tree | 87dfc33e7f419a385ba88ea35f118bb6f5a39910 /documentation | |
parent | 6c5bb9651d40976d787c9d823ad113815154668f (diff) | |
download | poky-a68970ebb71674f8dbf65e9a6c28d4f93d7df206.tar.gz |
dev-manual: Edits to "Making Sure the Packaging is Done" section.
(From yocto-docs rev: 3b588d0cf33613365615a4a5f1280995f7a053c4)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index e07a494c66..8754c0516f 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -3176,13 +3176,14 @@ | |||
3176 | <para> | 3176 | <para> |
3177 | To ensure the module packaging actually gets done, you use | 3177 | To ensure the module packaging actually gets done, you use |
3178 | the <filename>do_split_packages</filename> function within | 3178 | the <filename>do_split_packages</filename> function within |
3179 | the <filename>populate_packages</filename> python function | 3179 | the <filename>populate_packages</filename> Python function |
3180 | in your recipe. | 3180 | in your recipe. |
3181 | The <filename>do_split_packages</filename> function | 3181 | The <filename>do_split_packages</filename> function |
3182 | searches for a pattern of files or directories under a | 3182 | searches for a pattern of files or directories under a |
3183 | specified path and creates a package for each one it finds | 3183 | specified path and creates a package for each one it finds |
3184 | by appending to the <filename>PACKAGES</filename> variable | 3184 | by appending to the |
3185 | and setting the appropriate values for | 3185 | <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGES'><filename>PACKAGES</filename></ulink> |
3186 | variable and setting the appropriate values for | ||
3186 | <filename>FILES_packagename</filename>, | 3187 | <filename>FILES_packagename</filename>, |
3187 | <filename>RDEPENDS_packagename</filename>, | 3188 | <filename>RDEPENDS_packagename</filename>, |
3188 | <filename>DESCRIPTION_packagename</filename>, and so forth. | 3189 | <filename>DESCRIPTION_packagename</filename>, and so forth. |
@@ -3218,7 +3219,8 @@ | |||
3218 | Thus, if a file in <filename>${libdir}</filename> | 3219 | Thus, if a file in <filename>${libdir}</filename> |
3219 | called <filename>mod_alias.so</filename> is found, | 3220 | called <filename>mod_alias.so</filename> is found, |
3220 | a package called <filename>lighttpd-module-alias</filename> | 3221 | a package called <filename>lighttpd-module-alias</filename> |
3221 | is created for it and the <filename>DESCRIPTION</filename> | 3222 | is created for it and the |
3223 | <ulink url='&YOCTO_DOCS_REF_URL;#var-DESCRIPTION'><filename>DESCRIPTION</filename></ulink> | ||
3222 | is set to "Lighttpd module for alias".</para></listitem> | 3224 | is set to "Lighttpd module for alias".</para></listitem> |
3223 | </itemizedlist> | 3225 | </itemizedlist> |
3224 | </para> | 3226 | </para> |
@@ -3226,8 +3228,8 @@ | |||
3226 | <para> | 3228 | <para> |
3227 | Often, packaging modules is as simple as the previous | 3229 | Often, packaging modules is as simple as the previous |
3228 | example. | 3230 | example. |
3229 | However, more advanced options exist that you can employ | 3231 | However, more advanced options exist that you can use |
3230 | to <filename>do_split_packages</filename> to modify its | 3232 | within <filename>do_split_packages</filename> to modify its |
3231 | behavior. | 3233 | behavior. |
3232 | And, if you need to, you can add more logic by specifying | 3234 | And, if you need to, you can add more logic by specifying |
3233 | a hook function that is called for each package. | 3235 | a hook function that is called for each package. |
@@ -3241,7 +3243,8 @@ | |||
3241 | <filename>do_split_packages</filename>, see the | 3243 | <filename>do_split_packages</filename>, see the |
3242 | <filename>connman.inc</filename> file in the | 3244 | <filename>connman.inc</filename> file in the |
3243 | <filename>meta/recipes-connectivity/connman/</filename> | 3245 | <filename>meta/recipes-connectivity/connman/</filename> |
3244 | directory of the <filename>poky</filename> source repository. | 3246 | directory of the <filename>poky</filename> |
3247 | <link linkend='yocto-project-repositories'>source repository</link>. | ||
3245 | You can also find examples in | 3248 | You can also find examples in |
3246 | <filename>meta/classes/kernel.bbclass</filename>. | 3249 | <filename>meta/classes/kernel.bbclass</filename>. |
3247 | </para> | 3250 | </para> |