On Thu, 26 Aug 2021, Alexander Kanavin wrote: > It used to be that 'exit 1' was the way to defer to boot time, but > that was changed long time ago to not be ambiguous like that and > cause a real failure at build time. Deferring to first boot needs to > be explicitly requested with _ontarget() (you can read the > definition for it to see what really happens, how $D is used and how > request to defer is made). > > Alex
and that's sort of what i thought, despite what the docs currently say: https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-post-installation-scripts "If you do not use this variable, the tools might be missing and execution of the post-installation script is deferred until first boot." i'll put together some enhanced docs that clear this up, and submit to docs list. rday
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#155338): https://lists.openembedded.org/g/openembedded-core/message/155338 Mute This Topic: https://lists.openembedded.org/mt/85146007/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-