Skip to contentSkip to conversation

what is the purpose of "postinst_intercept delay_to_first_boot"?

DISCUSSION Robert P. J. Day 1 participant 1 message Dec 17, 2021

lore
Share & tools
lore
#0 lore raw

last Q: section in dev manual,
http://docs.yoctoproject.org/dev-manual/common-tasks.html#post-installation-scripts,
reads:

"To delay script execution until boot time, you must explicitly mark post installs to defer to the target. You can use pkg_postinst_ontarget() or call postinst_intercept delay_to_first_boot from pkg_postinst()."

ok, but if one can use the well-defined former mechanism, what is
the point of the second mechanism? if there is a difference, that section does not explain to the reader what it is.

and that should do it.

rday