diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-11-26 07:56:21 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:53:23 +0000 |
commit | 72562c42508f7d2733187b0c4c95b004cd5d4db1 (patch) | |
tree | 23ca874f84430c2353246523fc8aec6459c5b6a4 /documentation | |
parent | fb72b61ce068b6cffb628718d9b14498d35d380c (diff) | |
download | poky-72562c42508f7d2733187b0c4c95b004cd5d4db1.tar.gz |
ref-manual: Added bin_package.bbclass description.
(From yocto-docs rev: 46e8209f825a4df9a6d23fcc3ac7254039cce011)
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/ref-manual/ref-classes.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 8a52821aaa..3fa50155a8 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -211,6 +211,29 @@ | |||
211 | </para> | 211 | </para> |
212 | </section> | 212 | </section> |
213 | 213 | ||
214 | <section id='ref-classes-bin-package.bbclass'> | ||
215 | <title><filename>bin_package.bbclass</filename></title> | ||
216 | |||
217 | <para> | ||
218 | The binary package (<filename>bin_package</filename>) class is a | ||
219 | helper class for recipes that extract the contents of a binary package | ||
220 | (e.g. an RPM) and install those contents rather than building the | ||
221 | binary from source. | ||
222 | The binary package is extracted and new packages in the configured | ||
223 | output package format are created. | ||
224 | <note> | ||
225 | For RPMs and other packages that do not contain a subdirectory, | ||
226 | you should specify a "subdir" parameter. | ||
227 | Here is an example where <filename>${BP}</filename> matches the | ||
228 | subdirectory expected by the default value of | ||
229 | <link linkend='var-S'><filename>S</filename></link>: | ||
230 | <literallayout class='monospaced'> | ||
231 | SRC_URI = "http://example.com/downloads/somepackage.rpm;subdir=${BP}" | ||
232 | </literallayout> | ||
233 | </note> | ||
234 | </para> | ||
235 | </section> | ||
236 | |||
214 | <section id='ref-classes-debian'> | 237 | <section id='ref-classes-debian'> |
215 | <title>Debian Renaming - <filename>debian.bbclass</filename></title> | 238 | <title>Debian Renaming - <filename>debian.bbclass</filename></title> |
216 | 239 | ||