diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-04-28 00:56:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:54:33 +0100 |
commit | 288638e4f23d90800f95ebaa606aaffca79c3bbc (patch) | |
tree | 365b58be9d36d1ad85ec34b876e7ea931af4d063 /meta | |
parent | f564954968b424f253defe053e7a1593c86c6603 (diff) | |
download | poky-288638e4f23d90800f95ebaa606aaffca79c3bbc.tar.gz |
liberation-fonts: postinst can't be called offline
fc-cache should be called on target system. Or maybe we should pass a
suitable directory list to it?
(From OE-Core rev: c5156d26fc9ebacb2141f072aee698a7284d7cb8)
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb | 3 | ||||
-rw-r--r-- | meta/recipes-graphics/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 c50d6eb3ff..81aee0ed0b 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 () { | |||
34 | 34 | ||
35 | pkg_postinst_${PN} () { | 35 | pkg_postinst_${PN} () { |
36 | #!/bin/sh | 36 | #!/bin/sh |
37 | if [ "x$D" != "x" ] ; then | ||
38 | exit 1 | ||
39 | fi | ||
37 | fc-cache | 40 | fc-cache |
38 | } | 41 | } |
39 | 42 | ||
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 d910cff2bb..1f023b760b 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 () { | |||
35 | 35 | ||
36 | pkg_postinst_${PN} () { | 36 | pkg_postinst_${PN} () { |
37 | #!/bin/sh | 37 | #!/bin/sh |
38 | if [ "x$D" != "x" ] ; then | ||
39 | exit 1 | ||
40 | fi | ||
38 | fc-cache | 41 | fc-cache |
39 | } | 42 | } |
40 | 43 | ||