Using the fontcache class means we can run the postinstall at build time so this is generally more efficient.
Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb index 71e85e4..ccd865c 100644 --- a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb +++ b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb @@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT.TXT;md5=27d7484b1e18d0ee4ce538644a3f04be" PR = "r7" RDEPENDS_${PN} = "fontconfig-utils" -inherit allarch +inherit allarch fontcache + +FONT_PACKAGES = "${PN}" SRC_URI = "${GNOME_MIRROR}/ttf-bitstream-vera/1.10/ttf-bitstream-vera-${PV}.tar.bz2" @@ -31,12 +33,6 @@ do_install () { done } -pkg_postinst_${PN} () { -#!/bin/sh -fc-cache -} - - FILES_${PN} = "/etc ${datadir}/fonts" SRC_URI[md5sum] = "bb22bd5b4675f5dbe17c6963d8c00ed6" -- 1.7.10.4 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core