]> code.ossystems Code Review - openembedded-core.git/commit
fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending
authorJonathan Liu <net147@gmail.com>
Mon, 9 Mar 2015 01:13:56 +0000 (12:13 +1100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2015 17:38:33 +0000 (17:38 +0000)
commitf0e3db4eaacc32423934ce09b91bc619dc5dbd21
tree93d7f593ec602a5a1845555ace656cc1d4d544ab
parent23393c6685860d0b1c459874d35395360d0b6d3c
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>
meta/classes/fontcache.bbclass