[OE-core] [PATCH] Test needed to verify postinst script order.

Burton, Ross ross.burton at intel.com
Fri Nov 18 12:59:54 UTC 2016


On 17 November 2016 at 18:20, Pedraza Gonzalez, Francisco J <
francisco.j.pedraza.gonzalez at intel.com> wrote:

> Ross: Could you please give more details about PACKAGE_CLASSES?, I am not
> very familiar with.
>

See
http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PACKAGE_CLASSES

By setting it to "package_rpm package_ipk package_deb" you'll be build
packages for all formats, and then rotating the value so each format is
first when you build an image it will be built with each type of package.

For example:

for classes in ("package_rpm package_deb package_ipk",
                      "package_deb package_rpm package_ipk",
                       "package_ipk package_deb package_rpm"):
  PACKAGE_CLASSES=classes
  bitbake()
  qemu()

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161118/8cd191ff/attachment-0002.html>


More information about the Openembedded-core mailing list