summaryrefslogtreecommitdiff
path: root/yocto-poky/scripts/postinst-intercepts/update_font_cache
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/scripts/postinst-intercepts/update_font_cache')
-rw-r--r--yocto-poky/scripts/postinst-intercepts/update_font_cache5
1 files changed, 5 insertions, 0 deletions
diff --git a/yocto-poky/scripts/postinst-intercepts/update_font_cache b/yocto-poky/scripts/postinst-intercepts/update_font_cache
new file mode 100644
index 000000000..c8c6018f2
--- /dev/null
+++ b/yocto-poky/scripts/postinst-intercepts/update_font_cache
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
+ $D${bindir}/fc-cache --sysroot=$D
+chown -R root:root $D${fontconfigcachedir}