summaryrefslogtreecommitdiffstats
path: root/config/live.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/live.cfg')
-rw-r--r--config/live.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/live.cfg b/config/live.cfg
index 26c90dd..203b940 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -221,6 +221,15 @@ my $_l = {
# remove pre-installed grub2, we need to be able to select grub2 vs grub2-efi at install time
"rpm -e --nodeps grub2",
+ # set the timestamp on the font directories to be a whole second
+ # fc-cache looks at the nano second portion which may be non-zero
+ # as we are on ext4, but then it will compare against the stamps
+ # on the squashfs live image which have whole second resolution
+ # (adapted from fix descrived in OpenMandriva bug 1764)
+ "find /usr/share/fonts -type d -exec touch -t \$(date +%Y%m%d%H%M.%S) '{}' ';'",
+ # now update the cache for the new timestamps
+ "fc-cache -rf",
+
),
additional_media => [
if_($live->{settings}{updates_repository},