On Mon, Mar 16, 2015 at 05:42:36PM +0000, [email protected] wrote: > Module: openembedded-core.git > Branch: master > Commit: f0e3db4eaacc32423934ce09b91bc619dc5dbd21 > URL: > http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f0e3db4eaacc32423934ce09b91bc619dc5dbd21 > > Author: Jonathan Liu <[email protected]> > Date: Mon Mar 9 12:13:56 2015 +1100 > > fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending > > Appending to PACKAGEFUNCS results in the font packages missing the > postinst/postrm scripts and the fontconfig cache not being generated > in /var/cache/fontconfig when creating images or installing font > packages. This is because the package data has already been emitted > by emit_pkgdata in PACKAGEFUNCS. Prepend to PACKAGEFUNCS to ensure > add_fontcache_postinsts is executed before emit_pkgdata.
It's not caused by this change, but fixing this issue revealed that fc-cache doesn't really work here. Every time the intercept_scripts/update_font_cache executes qemu it gets "stuck" eating a lot of cpu and memory until it dies. Is anyone alse seeing this behavior? WARNING: The postinstall intercept hook 'update_font_cache' failed (exit code: 137)! See log for details! WARNING: The postinstalls for the following packages will be postponed for first boot: liberation-fonts ERROR: The following packages could not be configured offline and rootfs is read-only: ['liberation-fonts'] ERROR: Function failed: do_rootfs bitbake 32618 98.8 67.1 11031512 10983420 pts/3 R+ 03:00 4:53 qemu-i386 -r 2.6.32 -L /OE/rootfs -E uD_LIBRARY_PATH=/OE/rootfs//usr/lib:/OE/rootfs//lib /OE/rootfs/usr/bin/fc-cache --sysroot=/OE/rootfs > > [YOCTO #7410] > > Signed-off-by: Jonathan Liu <[email protected]> > Signed-off-by: Ross Burton <[email protected]> > > --- > > meta/classes/fontcache.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass > index ad5892c..dfbdfa1 100644 > --- a/meta/classes/fontcache.bbclass > +++ b/meta/classes/fontcache.bbclass > @@ -42,4 +42,4 @@ python add_fontcache_postinsts() { > d.setVar('pkg_postrm_%s' % pkg, postrm) > } > > -PACKAGEFUNCS += "add_fontcache_postinsts" > +PACKAGEFUNCS =+ "add_fontcache_postinsts" > > -- > _______________________________________________ > Openembedded-commits mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-commits -- Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
