diff options
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 | ||