Message ID | 20241101180709.395252-1-erick.shepherd@ni.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] ttf-pt-sans_1.1: Install fonts after target boots | expand |
On Fri, Nov 1, 2024 at 11:07 AM Erick Shepherd via lists.openembedded.org <erick.shepherd=ni.com@lists.openembedded.org> wrote: > > 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. > That would make it behave differently on read-only rootfs, best would be to see if it can be run offline somehow > 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 --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 > -- > 2.43.0 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#113387): https://lists.openembedded.org/g/openembedded-devel/message/113387 > Mute This Topic: https://lists.openembedded.org/mt/109339423/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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
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(-)