fontconfig: use /storage/.cache/fontconfig as persistent font cache dir, create fontcache only on first boot

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-06 00:51:27 +02:00
parent 0d92cba5a4
commit 17243e2e88
2 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,7 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--with-arch=$TARGET_ARCH \
--with-cache-dir=/storage/.cache/fontconfig \
--with-default-fonts=/usr/share/fonts/liberation \
--without-add-fonts \
--disable-dependency-tracking \

View File

@ -1,5 +1,7 @@
[Unit]
Description=Fontconfig caching
ConditionPathExists=|!/storage/.cache/fontconfig/CACHEDIR.TAG
After=local-fs.target
Before=graphical.target
[Service]