From 0dc2a530dfeadccd7b3baa2d8f5a478aa7ead1fb Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Tue, 21 Apr 2015 12:53:02 +0200 Subject: 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] (From OE-Core rev: 0ecccc7e75f2833c4f2599ce46b6fb9a0bc06e22) Signed-off-by: Jonathan Liu Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/fontcache.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass index dcd1f04064..dfbdfa1e02 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 -- cgit v1.2.3-54-g00ecf