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>
This commit is contained in:
parent
6c5bb9651d
commit
a68970ebb7
|
@ -3176,13 +3176,14 @@
|
|||
<para>
|
||||
To ensure the module packaging actually gets done, you use
|
||||
the <filename>do_split_packages</filename> function within
|
||||
the <filename>populate_packages</filename> python function
|
||||
the <filename>populate_packages</filename> Python function
|
||||
in your recipe.
|
||||
The <filename>do_split_packages</filename> function
|
||||
searches for a pattern of files or directories under a
|
||||
specified path and creates a package for each one it finds
|
||||
by appending to the <filename>PACKAGES</filename> variable
|
||||
and setting the appropriate values for
|
||||
by appending to the
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGES'><filename>PACKAGES</filename></ulink>
|
||||
variable and setting the appropriate values for
|
||||
<filename>FILES_packagename</filename>,
|
||||
<filename>RDEPENDS_packagename</filename>,
|
||||
<filename>DESCRIPTION_packagename</filename>, and so forth.
|
||||
|
@ -3218,7 +3219,8 @@
|
|||
Thus, if a file in <filename>${libdir}</filename>
|
||||
called <filename>mod_alias.so</filename> is found,
|
||||
a package called <filename>lighttpd-module-alias</filename>
|
||||
is created for it and the <filename>DESCRIPTION</filename>
|
||||
is created for it and the
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-DESCRIPTION'><filename>DESCRIPTION</filename></ulink>
|
||||
is set to "Lighttpd module for alias".</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
@ -3226,8 +3228,8 @@
|
|||
<para>
|
||||
Often, packaging modules is as simple as the previous
|
||||
example.
|
||||
However, more advanced options exist that you can employ
|
||||
to <filename>do_split_packages</filename> to modify its
|
||||
However, more advanced options exist that you can use
|
||||
within <filename>do_split_packages</filename> to modify its
|
||||
behavior.
|
||||
And, if you need to, you can add more logic by specifying
|
||||
a hook function that is called for each package.
|
||||
|
@ -3241,7 +3243,8 @@
|
|||
<filename>do_split_packages</filename>, see the
|
||||
<filename>connman.inc</filename> file in the
|
||||
<filename>meta/recipes-connectivity/connman/</filename>
|
||||
directory of the <filename>poky</filename> source repository.
|
||||
directory of the <filename>poky</filename>
|
||||
<link linkend='yocto-project-repositories'>source repository</link>.
|
||||
You can also find examples in
|
||||
<filename>meta/classes/kernel.bbclass</filename>.
|
||||
</para>
|
||||
|
|
Loading…
Reference in New Issue