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

Anders Darander anders at chargestorm.se
Wed Feb 15 08:17:31 UTC 2017


* Alexander Kanavin <alexander.kanavin at linux.intel.com> [170213 16:08]:

> All commands that cannot be executed during cross-install and can only be run on target
> should go into this function. They will only be executed on first boot (if package was
> cross-installed) or immediately during package installation on target.

How will this be handled when using ro-rootfs?

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...

Cheers,
Anders

-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB



More information about the Openembedded-core mailing list