[OE-core] [RFC 0/7] Postinstall improvements

Andreas Müller schnitzeltony at googlemail.com
Thu Sep 20 15:38:22 UTC 2012


On Wed, Sep 19, 2012 at 5:33 PM, Laurentiu Palcu
<laurentiu.palcu at intel.com> wrote:
>
>
> On 09/19/2012 04:41 PM, Andreas Müller wrote:
>> On Wed, Sep 19, 2012 at 1:49 PM, Laurentiu Palcu
>> <laurentiu.palcu at intel.com> wrote:
>>> Hi,
>>>
>>> It's been quite a long time since I sent the first version of postinstall
>>> improvements which, after some debate, we decided it needed run-once
>>> support of postinst scriptlets on host. This patcheset (RFC actually) adds
>>> that.
>>>
>>> So, in order to achieve this goal I took advantage of
>>> ROOTFS_POSTPROCESS_COMMAND variable. Basically, if running some postinst
>>> scriptlets is time consuming (even on host) and execute repeatedly,
>>> then we can postpone the running and run the scriplet just once. The idea is
>>> to put the scriptlet in the ${WORKDIR}/intercept_scripts directory. When the
>>> ROOTFS_POSTPROCESS_COMMAND is executed, it will pick up all the scripts in
>>> this directory and execute them.
>>>
>>> This actual patchset does the above for the gtk icon cache generation which
>>> takes a very long time to run on target and even on some hosts.
>>>
>>> The people willing to give this patchset a test, are most than welcome. Also,
>>> please feel free to review.
>>>
>>> Thanks,
>>> Laurentiu
>>>
>> Thanks for taking care. I will give it a test tonight and hope to have
>> results tomorrow.
> It would be great if you could give it a try and let me know your results.
>
I removed gtk-native append in meta-oe, build from scratch and tested
the image. No issues so far - seems you have done a great job -
Thanks!

Andreas




More information about the Openembedded-core mailing list