diff options
author | Jonathan Liu <net147@gmail.com> | 2015-04-21 12:53:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-27 15:02:38 +0100 |
commit | 0dc2a530dfeadccd7b3baa2d8f5a478aa7ead1fb (patch) | |
tree | 82b632af4ecea421848a55324701499f32941774 /scripts/postinst-intercepts | |
parent | 6579836d8283d576bb451320ca9984b313eb2180 (diff) | |
download | poky-0dc2a530dfeadccd7b3baa2d8f5a478aa7ead1fb.tar.gz |
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 <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts')
-rw-r--r-- | scripts/postinst-intercepts/update_font_cache | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index 78f33651e9..3907f25f19 100644 --- a/scripts/postinst-intercepts/update_font_cache +++ b/scripts/postinst-intercepts/update_font_cache | |||
@@ -2,5 +2,6 @@ | |||
2 | 2 | ||
3 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\ | 3 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\ |
4 | $D${bindir}/fc-cache --sysroot=$D | 4 | $D${bindir}/fc-cache --sysroot=$D |
5 | chown -R root:root $D${localstatedir}/cache/fontconfig | ||
5 | 6 | ||
6 | 7 | ||