summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-graphics
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-05-28 01:54:11 +0300
committerWilliam A. Kennington III <wak@google.com>2021-06-05 03:29:06 +0300
commit477b209b864486feff9163b61ae06eebc8d52039 (patch)
treeea4228b25fc3b4241cb709077d774b9d19618184 /meta-phosphor/recipes-graphics
parent088a2ba88572d2664c050dd9f1f36a986f5d6ee0 (diff)
downloadopenbmc-477b209b864486feff9163b61ae06eebc8d52039.tar.xz
meta-phosphor: liberation-fonts: Make override generic
Reducing the installed font set is not version specific, apply even to updated versions. Change-Id: Iddf03fb64cc43d49a4c94d480d141352a300a831 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-phosphor/recipes-graphics')
-rw-r--r--meta-phosphor/recipes-graphics/ttf-fonts/liberation-fonts_%.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-graphics/ttf-fonts/liberation-fonts_%.bbappend b/meta-phosphor/recipes-graphics/ttf-fonts/liberation-fonts_%.bbappend
new file mode 100644
index 000000000..5283a7841
--- /dev/null
+++ b/meta-phosphor/recipes-graphics/ttf-fonts/liberation-fonts_%.bbappend
@@ -0,0 +1,9 @@
+
+do_install () {
+ install -d ${D}${datadir}/fonts/ttf/
+ for i in LiberationMono-Regular.ttf; do
+ install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i}
+ done
+ install -d ${D}${sysconfdir}/fonts/conf.d/
+ install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
+}