diff options
author | Jonathan Liu <net147@gmail.com> | 2015-03-09 12:13:56 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-16 17:41:54 +0000 |
commit | 9d0feb3f29fa7c7855accfb8a7b3bf1c3c608dea (patch) | |
tree | fa4aedc631bae85a07bef9171c22cfa2c4b03388 /meta/classes | |
parent | d03e1677d54b6cc9668c7e50df53ad9e242d1629 (diff) | |
download | poky-9d0feb3f29fa7c7855accfb8a7b3bf1c3c608dea.tar.gz |
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: f0e3db4eaacc32423934ce09b91bc619dc5dbd21)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/fontcache.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass index ad5892cda1..dfbdfa1e02 100644 --- a/meta/classes/fontcache.bbclass +++ b/meta/classes/fontcache.bbclass | |||
@@ -42,4 +42,4 @@ python add_fontcache_postinsts() { | |||
42 | d.setVar('pkg_postrm_%s' % pkg, postrm) | 42 | d.setVar('pkg_postrm_%s' % pkg, postrm) |
43 | } | 43 | } |
44 | 44 | ||
45 | PACKAGEFUNCS += "add_fontcache_postinsts" | 45 | PACKAGEFUNCS =+ "add_fontcache_postinsts" |