]> code.ossystems Code Review - openembedded-core.git/commit
fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending
authorJonathan Liu <net147@gmail.com>
Wed, 11 Mar 2015 02:25:56 +0000 (13:25 +1100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Apr 2015 21:38:34 +0000 (22:38 +0100)
commit7c6d8054bb87e56180920d790efc25d42e25ab8c
treeecc041a6bc93af6c59c11da2cea8e1e3a96792b1
parent986b46517ed9cd0821821371faab68e92c2d6dab
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: Armin Kuster <akuster808@gmail.com>
meta/classes/fontcache.bbclass