From: Jonathan Liu Date: Wed, 11 Mar 2015 02:25:56 +0000 (+1100) Subject: fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7c6d8054bb87e56180920d790efc25d42e25ab8c;p=openembedded-core.git 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. [YOCTO #7410] Signed-off-by: Jonathan Liu Signed-off-by: Armin Kuster --- diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass index 2bf1e4bd1b..dcd1f04064 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"