8.5. bin_package.bbclass

The bin_package 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 ${BP} is used so that the files are extracted into the subdirectory expected by the default value of S:
     SRC_URI = "http://example.com/downloads/somepackage.rpm;subdir=${BP}"