From patchwork Tue May 3 23:44:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [02/33] liberation-fonts: postinst can't be called offline Date: Tue, 03 May 2011 23:44:23 -0000 From: Saul Wold X-Patchwork-Id: 3123 Message-Id: <41b49e07aa5b387732f40225d65d129b9acc7db7.1304465724.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org Cc: Xiaofeng Yan , Ilya Yanok , Darren Hart , Paul Eggleton , Kang Kai , Koen Kooi From: Ilya Yanok fc-cache should be called on target system. Or maybe we should pass a suitable directory list to it? Signed-off-by: Ilya Yanok Signed-off-by: Saul Wold --- .../ttf-fonts/liberation-fonts_1.04.bb | 3 +++ .../ttf-fonts/liberation-fonts_1.06.bb | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb index c50d6eb..81aee0e 100644 --- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb @@ -34,6 +34,9 @@ do_install () { pkg_postinst_${PN} () { #!/bin/sh +if [ "x$D" != "x" ] ; then + exit 1 +fi fc-cache } diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb index d910cff..1f023b7 100644 --- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb @@ -35,6 +35,9 @@ do_install () { pkg_postinst_${PN} () { #!/bin/sh +if [ "x$D" != "x" ] ; then + exit 1 +fi fc-cache }