diff mbox series

[meta-oe] ttf-pt-sans_1.1: Install fonts after target boots

Message ID 20241101180709.395252-2-erick.shepherd@ni.com
State New
Headers show
Series [meta-oe] ttf-pt-sans_1.1: Install fonts after target boots | expand

Commit Message

Erick Shepherd Nov. 1, 2024, 6:07 p.m. UTC
Access to the font cache on the target is required to
get rid of the "configuration required on target" font
warnings that appear during rootfs builds.

Signed-off-by: Erick Shepherd <erick.shepherd@ni.com>
---
 meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
index fce76418f..5789f90c7 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
@@ -27,7 +27,7 @@  do_install () {
 
 FILES:${PN} += "${datadir}"
 
-pkg_postinst:${PN} () {
+pkg_postinst_ontarget:${PN} () {
     set -x
     for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
         mkfontdir $fontdir