summaryrefslogtreecommitdiff
path: root/meta/classes/fontcache.bbclass
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2015-03-09 13:28:37 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:38:33 +0000
commit23393c6685860d0b1c459874d35395360d0b6d3c (patch)
tree38d5fb588a3e3e2eee8e59eb0a2e33323307e193 /meta/classes/fontcache.bbclass
parent2f99ee5725ffc173bf32c0b707aa90adbc4eed95 (diff)
downloadopenembedded-core-23393c6685860d0b1c459874d35395360d0b6d3c.tar.gz
openembedded-core-23393c6685860d0b1c459874d35395360d0b6d3c.tar.bz2
openembedded-core-23393c6685860d0b1c459874d35395360d0b6d3c.zip
postinst-intercepts/update_font_cache: fix ownership of fontconfig cache
The file ownership of the cache files in /var/cache/fontconfig needs to be set to root:root otherwise it inherits the user and group id of the build user. [YOCTO #7411] Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/fontcache.bbclass')
-rw-r--r--meta/classes/fontcache.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass
index 2bf1e4bd1b..ad5892cda1 100644
--- a/meta/classes/fontcache.bbclass
+++ b/meta/classes/fontcache.bbclass
@@ -12,7 +12,7 @@ FONT_EXTRA_RDEPENDS ?= "fontconfig-utils"
fontcache_common() {
if [ "x$D" != "x" ] ; then
$INTERCEPT_DIR/postinst_intercept update_font_cache ${PKG} mlprefix=${MLPREFIX} bindir=${bindir} \
- libdir=${libdir} base_libdir=${base_libdir}
+ libdir=${libdir} base_libdir=${base_libdir} localstatedir=${localstatedir}
else
fc-cache
fi