aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2015-03-09 12:13:56 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:38:33 +0000
commitf0e3db4eaacc32423934ce09b91bc619dc5dbd21 (patch)
tree93d7f593ec602a5a1845555ace656cc1d4d544ab
parent23393c6685860d0b1c459874d35395360d0b6d3c (diff)
downloadopenembedded-core-contrib-f0e3db4eaacc32423934ce09b91bc619dc5dbd21.tar.gz
openembedded-core-contrib-f0e3db4eaacc32423934ce09b91bc619dc5dbd21.tar.bz2
openembedded-core-contrib-f0e3db4eaacc32423934ce09b91bc619dc5dbd21.zip
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 <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/fontcache.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass
index ad5892cda18..dfbdfa1e02f 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"