Skip to contentSkip to conversation

does pkg_preinst_* not run at image creation time?

DISCUSSION Robert P. J. Day 1 participant 1 message Aug 2, 2014

lore
Share & tools
lore
#0 lore raw

reading yocto dev manual, on post-installation scripts, and there's
this note:

"Equivalent support for pre-install, pre-uninstall, and post-uninstall scripts exist by way of pkg_preinst, pkg_prerm, and pkg_postrm, respectively. These scrips work in exactly the same way as does pkg_postinst with the exception that they run at different times. Also, because of when they run, they are not applicable to being run at image creation time like pkg_postinst."

i would have thought that pkg_preinst_* would still be run at image
creation time, no? or am i misunderstanding something?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================