]> code.ossystems Code Review - openembedded-core.git/commit
update_font_cache: update script for multilib
authorKai Kang <kai.kang@windriver.com>
Tue, 11 Sep 2018 23:25:19 +0000 (19:25 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Sep 2018 07:17:37 +0000 (08:17 +0100)
commit53d8625732b0c8416e367d5eef43863ec2065433
tree16f581a8c04dfaf38c197b83ba9916538a20f115
parent6d3ca476dbc2059f4b7fa3dfd73de6bbfed49198
update_font_cache: update script for multilib

Packages which inherit fontcache.bbclass call postinstall script
update_font_cache. And in update_font_cache, it calls ${bindir}/fc-cache
by qemuwrapper. When multilib is enabled, both packages foo and lib32-foo
will call ${bindir}/fc-cache and one of them will fail to run obviously.

Duplicate install file fc-cache to ${libexecdir} with ${MLPREFIX} and
call proper fc-cache in update_font_cache.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb
scripts/postinst-intercepts/update_font_cache