Bug 61 - [Performance] Generate fontconfig cache when building image
Summary: [Performance] Generate fontconfig cache when building image
Status: VERIFIED WONTFIX
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: All Multiple
: Medium normal
Target Milestone: 1.3 M3
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard: (P1)(Scheduled)
Depends on:
Blocks:
 
Reported: 2008-05-06 12:06 UTC by Ross Burton - Disabled
Modified: 2012-08-13 21:13 UTC (History)
11 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton - Disabled 2008-05-06 12:06:48 UTC
We should generate a fontconfig cache in the rootfs when the image is generated, to avoid it happening randomly on first boot.
Comment 1 Beth Flanagan 2011-02-17 23:26:11 UTC
postponed to 1.1
Comment 2 Ross Burton 2012-08-02 14:23:23 UTC
As discussed on a call, the cache is architecture-dependent so it has to be run on the target, or in a qemu.

I'm not convinced that the cache generation is sufficiently slow to make the overhead of qemu worth it.  I suspect consolidating the multiple cache generation operations into a single operation would be a better win.

(that's entirely without data, just a hunch)
Comment 3 Ross Burton 2012-08-09 09:21:34 UTC
So as the fontconfig cache is architecture dependent, so either
  - build it on the target
  - build it on the host in qemu

I'm not convinced that the overhead of qemu is worth the effort.  We used to build the locales this way because low-memory devices didn't have enough memory to the work.

I'll close this as WONTFIX, and open another bug about moving the font cache generation to a trigger.
Comment 4 Laurentiu Serban 2012-08-13 21:13:02 UTC
Setting this to verified due to Ross latest comment