mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6579836d82
commit
0dc2a530df
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user