summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2015-03-11 13:25:56 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-17 22:39:31 +0100
commitd03e94ef472fe09d8a27a3fcda30cbaf73d2eeea (patch)
treee3290073c539f316a6f4994b2dff4ac55ad2984f
parentbf6f9f44ad99b06969cfebca83be4765110512df (diff)
downloadpoky-d03e94ef472fe09d8a27a3fcda30cbaf73d2eeea.tar.gz
poky-d03e94ef472fe09d8a27a3fcda30cbaf73d2eeea.tar.bz2
poky-d03e94ef472fe09d8a27a3fcda30cbaf73d2eeea.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] (From OE-Core rev: 7c6d8054bb87e56180920d790efc25d42e25ab8c) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 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"