Op 22 mrt. 2012, om 20:51 heeft Andreas Müller het volgende geschreven: > On Thu, Mar 22, 2012 at 8:34 PM, Koen Kooi <k...@dominion.thruhere.net> wrote: >> >> Op 22 mrt. 2012, om 20:15 heeft Andreas Müller het volgende geschreven: >> >>> * Before this patch every inheritance of this class rebuilt the full icon >>> cache at the first boot. >>> * With this patch the icon cache will only be build once at the first boot >>> and on pkg installations that require it. >>> * This patch reduces the time needed for the first boot from 96 minutes to >>> 5 minutes on the test machine. >>> * Build-tested incremental (BB_SIGNATURE_HANDLER = "OEBasicHash") & from >>> scratch >>> * Run-tested with systemd and opkg >> >> Wouldn't adding it to the opkg intercept code (and likely rpm as well) be a >> better idea? >> > We wanted to be independent of package manager selected and decided to > follow the systemd-compat-units approach. Ehm opkg intercept code - > teach me :)
Have a look at http://code.google.com/p/opkg/source/browse/#svn%2Ftrunk%2Fintercept It is a bit iffy to encode knowledge of postinsts into the package manager, but you show that something like that is needed. Another thought: can the icon updates be done at do_rootfs time and mark the postinsts as done? regards, Koen _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core