[Fedora-spins] [spin-kickstarts] re-generate fontconfig cache in %post to work around #1169979

Adam Williamson adamwill at fedoraproject.org
Fri Dec 12 18:48:48 UTC 2014


commit eba9ca6a6f9b913885fa174d096a26e3797ec2b1
Author: Adam Williamson <awilliam at redhat.com>
Date:   Tue Dec 2 15:03:12 2014 -0800

    re-generate fontconfig cache in %post to work around #1169979

 fedora-live-base.ks |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 8c4899d..af07cc3 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -299,6 +299,12 @@ rm -f /core*
 # convince readahead not to collect
 # FIXME: for systemd
 
+# forcibly regenerate fontconfig cache (so long as this live image has
+# fontconfig) - see #1169979
+if [ -x /usr/bin/fc-cache ] ; then
+   fc-cache -f
+fi
+
 %end
 
 


More information about the spins mailing list