Hi, I know that OPKG supports running scripts at the very end of the package manager transaction. These are the so called "intercept scripts" in OPKG speak. pkg_postinst() scripts can run these scripts that create another script that eventually run at the end of the transaction.
However, these are not applicable when building an RPM based system with Yocto. In RPM, there are these %posttrans scriptlets that are scheduled for the end of the transaction. However, creating a %posttrans scriptlet is not supported in package_rpm.bbclass. For example, one package may depend on another for upgraded contents but if this dependency is not versioned, then the upgrade of these two packages may be done in the wrong order, making the pkg_postinst (%post) script of the first package run earlier than the script for the dependency package. An intercept script or RPM %posttrans script is perfect in any case. Is it planned to support %posttrans? Best regards, Zoltán Böszörményi -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core