]> code.ossystems Code Review - openembedded-core.git/commit
fontconfig: Don't add font directories from host
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 23 Feb 2016 15:32:07 +0000 (16:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:36 +0000 (11:32 +0000)
commit8cc47e6bfb7f623711d9cd9e71a7f72ab2838f57
tree75e99cc62968050625de6e6d92dc0c532b4f132b
parentf70ee77add3878b4e43f5e79e159e44b4bea725b
fontconfig: Don't add font directories from host

* when enabled, configure check for "fonts" directory existence in following directories:
  /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11
  on _host_ system and if it exists it adds <dir> element to
  /etc/fonts/fonts.conf
* update_font_cache postinst will then fail if host system has e.g.
  /usr/lib/X11/fonts while the rootfs doesn't have it
* if you're installing fonts to other directories, you'll need to adapt
  this EXTRA_OECONF to find them that's why it's in separate variable

[YOCTO #9155] - update_font_cache postinst failing with read-only filesystem

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/fontconfig/fontconfig_2.11.94.bb