[poky] [PATCH 2/2] liberation-fonts: postinst can't be called offline
Ilya Yanok
yanok at emcraft.com
Wed Apr 27 15:56:59 PDT 2011
fc-cache should be called on target system. Or maybe we should pass a
suitable directory list to it?
Signed-off-by: Ilya Yanok <yanok at emcraft.com>
---
.../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
}
--
1.7.4.4
More information about the poky
mailing list