[OE-core] [PATCH 22/36] package.bbclass: add support for pkg_postinst_ontarget()

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Feb 15 09:01:52 UTC 2017


On 02/15/2017 10:17 AM, Anders Darander wrote:
> How will this be handled when using ro-rootfs?

Same as it's handled now: by halting bitbake. See the email I just wrote 
to the oe-arch list for details.

> We don't need to make it easier to write on-first-boot only post_install
> scripts, rather, the goal has to be to be able to run all post_install
> scripts during rootfs creation...

This is not always possible. Some things do have to run on target: 
because qemu emulation doesn't work for the target machine on the build 
host, or because the post_install has to interact with target hardware.

Alex



More information about the Openembedded-core mailing list