summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-04-16 09:47:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-17 22:34:31 +0100
commit3b0739f718f4fd59d18c85e485cd9234a17e9019 (patch)
treef8b6a80c7f06c87c8d5f8b1282f235f3ae9a8bed /documentation/dev-manual
parent38f50ac9df918ceba500096d59d1b0d51eb923de (diff)
downloadpoky-3b0739f718f4fd59d18c85e485cd9234a17e9019.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/dev-manual')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml17
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>