[OE-core] [PATCH 4/5] gtk-icon-cache: call postinst scriplet at do_rootfs time

Andreas Müller schnitzeltony at googlemail.com
Sat Aug 4 20:25:27 UTC 2012


On Sat, Aug 4, 2012 at 9:56 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Sat, Aug 04, 2012 at 12:51:47PM -0700, Khem Raj wrote:
>> On Sat, Aug 4, 2012 at 12:37 PM, Andreas Müller
>> <schnitzeltony at googlemail.com> wrote:
>> > And less than 3min on overo with the patches we sent (and my xfce
>> > image is full of gtk-icon-update). Don't misunderstand me: I agree on
>> > doing things like this on host if possible. But for me the main time
>> > waiting on a new image is do_rootfs and I just suggest to think about
>> > having these tasks run only once - but we can do this later or never.
>> > A bit off topic: As far as I can remember there were times when it was
>> > a no-go having gtk-native in oe-core. I hope they are over...
>>
>> I certainly agree with you that it should be run once. However what if
>> you changed something in icons between towo do rootfs runs ?
>> but I would like to know how much build time is it adding to do_rootfs ?
>> sometimes over optimising is bad too.
Good point I totally forgot (the old approach worked correct for that).
I come back to my first post on this: I would like to see some more
generic runonce approach...
>
> I think Andreas patch does run it once *per* do_rootfs, so not for every
> package which uses it if there is at least one installed in do_rootfs
> then it's executed once.
>
Andreas




More information about the Openembedded-core mailing list