ref-manual: Added bin_package.bbclass description.
(From yocto-docs rev: 9c11ae7a589ba1534e830caf1ab387d63a9df923) 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
6d560da453
commit
ce4dd272c3
|
@ -211,6 +211,29 @@
|
|||
</para>
|
||||
</section>
|
||||
|
||||
<section id='ref-classes-bin-package.bbclass'>
|
||||
<title><filename>bin_package.bbclass</filename></title>
|
||||
|
||||
<para>
|
||||
The binary package (<filename>bin_package</filename>) class is a
|
||||
helper class for recipes that extract the contents of a binary package
|
||||
(e.g. an RPM) and install those contents rather than building the
|
||||
binary from source.
|
||||
The binary package is extracted and new packages in the configured
|
||||
output package format are created.
|
||||
<note>
|
||||
For RPMs and other packages that do not contain a subdirectory,
|
||||
you should specify a "subdir" parameter.
|
||||
Here is an example where <filename>${BP}</filename> matches the
|
||||
subdirectory expected by the default value of
|
||||
<link linkend='var-S'><filename>S</filename></link>:
|
||||
<literallayout class='monospaced'>
|
||||
SRC_URI = "http://example.com/downloads/somepackage.rpm;subdir=${BP}"
|
||||
</literallayout>
|
||||
</note>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id='ref-classes-debian'>
|
||||
<title>Debian Renaming - <filename>debian.bbclass</filename></title>
|
||||
|
||||
|
|
Loading…
Reference in New Issue