xorg-font-common: Install fonts after target boots
PATCH 1/1 xorg-font-common: Install fonts after target boots
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.
--- meta/recipes-graphics/xorg-font/xorg-font-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-font/xorg-font-common.inc +1 -1
@@ -30,7 +30,7 @@ do_install:append() { FILES:${PN} += " ${libdir}/X11/fonts ${datadir}" PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" -pkg_postinst:${PN} () { +pkg_postinst_ontarget:${PN} () { for fontdir in `find $D/usr/lib/X11/fonts -type d`; do mkfontdir $fontdir mkfontscale $fontdir
Signature · 1 line
2.43.0
PATCH 1/1 xorg-font-common: Install fonts after target boots
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.
--- meta/recipes-graphics/xorg-font/xorg-font-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-font/xorg-font-common.inc +1 -1
@@ -30,7 +30,7 @@ do_install:append() { FILES:${PN} += " ${libdir}/X11/fonts ${datadir}" PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" -pkg_postinst:${PN} () { +pkg_postinst_ontarget:${PN} () { for fontdir in `find $D/usr/lib/X11/fonts -type d`; do mkfontdir $fontdir mkfontscale $fontdir
Signature · 1 line
2.43.0
This doesn’t seem like a correct fix. We do have font cache at roots time so the tools either can’t find it or need the cache to be explicitly created first.
Ontarget is problematic with read only roots and should be avoided if possible.
Alex
Quoted 38 lines · Erick Shepherd via lists.openembedded.org
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 <[email protected]>--- meta/recipes-graphics/xorg-font/xorg-font-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-graphics/xorg-font/xorg-font-common.inc +1
-2@@ -30,7 +30,7 @@ do_install:append() { FILES:${PN} += " ${libdir}/X11/fonts ${datadir}" PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" -pkg_postinst:${PN} () { +pkg_postinst_ontarget:${PN} () { for fontdir in `find $D/usr/lib/X11/fonts -type d`; do mkfontdir $fontdir mkfontscale $fontdir --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#206626):
https://lists.openembedded.org/g/openembedded-core/message/206626
Mute This Topic: https://lists.openembedded.org/mt/109339440/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-