Commit 59e1a9af authored by Cyril Brulebois's avatar Cyril Brulebois

Run fc-cache when /etc/fonts or /usr/share/fonts exist.

This avoids having to generate UUIDs at runtime, which can be hard
because of missing entropy (Closes: #898468).

For the record: that means an extra .uuid fiel in each font directory,
and a cache written under /var/cache/fontconfig.
parent 3e38f5de
......@@ -617,6 +617,15 @@ endif
> "$(TREE)/lib/debian-installer.d/S63freetype-workaround"; \
fi
# Run fc-cache if needed, to avoid having to generate UUIDs
# at runtime, which can be hard because of missing entropy
# (#898468). Beware, fc-cache insists on having a directory
# under /usr/local:
if [ -e "$(TREE)/etc/fonts" ] || [ -e "$(TREE)/usr/share/fonts" ]; then \
mkdir -p "$(TREE)/usr/local/share/fonts"; \
fc-cache -s -y "$(TREE)"; \
fi
# Remove some unnecessary dpkg files.
set -e; \
for file in `find $(TREE)/var/lib/dpkg/info -name '*.md5sums' -o \
......
......@@ -12,6 +12,9 @@ debian-installer (2018XXXX) UNRELEASED; urgency=medium
* Duplicate Apt::Architecture into Apt::Architectures because of course
apt has two options, the latter getting foreign architectures if not
specified, even if the former is.
* Run fc-cache when /etc/fonts or /usr/share/fonts exist, to avoid
having to generate UUIDs at runtime, which can be hard because of
missing entropy (Closes: #898468).
[ Paul Tagliamonte ]
* Add support for the NanoPiNeo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment