mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 17:59:39 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d03e1677d5
commit
9d0feb3f29
@@ -42,4 +42,4 @@ python add_fontcache_postinsts() {
|
||||
d.setVar('pkg_postrm_%s' % pkg, postrm)
|
||||
}
|
||||
|
||||
PACKAGEFUNCS += "add_fontcache_postinsts"
|
||||
PACKAGEFUNCS =+ "add_fontcache_postinsts"
|
||||
|
||||
Reference in New Issue
Block a user