summaryrefslogtreecommitdiffstats
path: root/external/poky/scripts/postinst-intercepts/update_font_cache
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/scripts/postinst-intercepts/update_font_cache')
-rw-r--r--external/poky/scripts/postinst-intercepts/update_font_cache6
1 files changed, 6 insertions, 0 deletions
diff --git a/external/poky/scripts/postinst-intercepts/update_font_cache b/external/poky/scripts/postinst-intercepts/update_font_cache
new file mode 100644
index 00000000..e0ec4719
--- /dev/null
+++ b/external/poky/scripts/postinst-intercepts/update_font_cache
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E ${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache --sysroot=$D --system-only ${fontconfigcacheparams}
+chown -R root:root $D${fontconfigcachedir}