diff options
Diffstat (limited to 'poky/scripts/postinst-intercepts/update_font_cache')
-rw-r--r-- | poky/scripts/postinst-intercepts/update_font_cache | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/poky/scripts/postinst-intercepts/update_font_cache b/poky/scripts/postinst-intercepts/update_font_cache new file mode 100644 index 0000000000..bf65e19a41 --- /dev/null +++ b/poky/scripts/postinst-intercepts/update_font_cache @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir} \ + -E ${fontconfigcacheenv} $D${bindir}/fc-cache --sysroot=$D --system-only ${fontconfigcacheparams} +chown -R root:root $D${fontconfigcachedir} |