On Sat, 2020-04-04 at 05:52 -0400, [email protected] wrote: > still working my way through the YP docs and, in dev manual, > 3.3.19, > "Post-Installation Scripts", one reads the final 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'm confused ... why would a pkg_preinst script not be applicable > to > being run at image creation time? or am i misreading that? > > i'll probably have more questions about these scripts as i dig > further into them.
I think however wrote it misunderstood. prerm and postrm are unlikely to run at image install time (but can if packages are removed). preinst will run. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137008): https://lists.openembedded.org/g/openembedded-core/message/137008 Mute This Topic: https://lists.openembedded.org/mt/72767286/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
