mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-25 19:56:43 +00:00
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:
parent
0d92cba5a4
commit
17243e2e88
@ -36,6 +36,7 @@ PKG_IS_ADDON="no"
|
|||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--with-arch=$TARGET_ARCH \
|
PKG_CONFIGURE_OPTS_TARGET="--with-arch=$TARGET_ARCH \
|
||||||
|
--with-cache-dir=/storage/.cache/fontconfig \
|
||||||
--with-default-fonts=/usr/share/fonts/liberation \
|
--with-default-fonts=/usr/share/fonts/liberation \
|
||||||
--without-add-fonts \
|
--without-add-fonts \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Fontconfig caching
|
Description=Fontconfig caching
|
||||||
|
ConditionPathExists=|!/storage/.cache/fontconfig/CACHEDIR.TAG
|
||||||
|
After=local-fs.target
|
||||||
Before=graphical.target
|
Before=graphical.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user