On Sat, 4 Apr 2020, Richard Purdie wrote: > 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.
i assumed as much (that preinst is perfectly capable of running at image creation time). i may rewrite that section once i actually understand it in its entirety -- it's definitely a bit confusing at the moment. rday
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137009): https://lists.openembedded.org/g/openembedded-core/message/137009 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]] -=-=-=-=-=-=-=-=-=-=-=-
