[OE-core] [PATCH 4/5] gdk-pixbuf: generate the pixbuf loader's cache ar rootfs time

Laurentiu Palcu laurentiu.palcu at intel.com
Wed Dec 5 09:28:42 UTC 2012



On 12/04/2012 04:34 PM, Burton, Ross wrote:
> It's probably worth explaining why it's fine that only the loaders
> from gdk-pixbuf-native are used and for example librsvg-native doesn't
> need to be built.
First off, the librsvg postinstall scriptlet is still postponed to run
on target, at first boot. I didn't touch that one, yet. We will deal
with this one (and others) in subsequent patches. Secondly, the
gdk-pixbuf postinstall scriptlet will exit 1 if the command fails. So,
if one has librsvg built and the native one is not present, the
gdk-pixbuf scriptlet will fail on host because it will not find the
native SVG pixbuf loader and it will be postponed to run on target at
first boot. No harm done, this is the current behavior anyway.

However, if we want to be able to run all postinstall scriptlets on host
in order to support read-only rootfs, we might need to have
librsvg-native built too so that we generate the pixbuf loader cache on
host at rootfs install time.

Let's take it step-by-step though and see how the current changes
behave. What do you think?

Thanks,
Laurentiu




More information about the Openembedded-core mailing list