summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-01-19 10:01:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-20 11:53:50 +0000
commit5d01111eb80d20e0dd3a245bb6190af515b4cdac (patch)
treea923a03b6e4d051ca8e8b59362c44fec03a820aa
parent31943a7ecff47a58e111200ad524ae319b2d4603 (diff)
downloadpoky-5d01111eb80d20e0dd3a245bb6190af515b4cdac.tar.gz
xorg-font-common: Add PACKAGE_WRITE_DEPS for postinst
mkfontdir and mkfontscale are used in the postinstall script. (From OE-Core rev: 7b2ab076386a6a8e92a90c0c804647feca61dd40) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-font-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
index d5267f59a2..cdbebcf788 100644
--- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc
+++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
@@ -4,7 +4,7 @@ BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
4SECTION = "x11/fonts" 4SECTION = "x11/fonts"
5LICENSE = "MIT-X" 5LICENSE = "MIT-X"
6 6
7DEPENDS = " encodings font-alias font-util-native mkfontdir-native mkfontscale-native" 7DEPENDS = " encodings font-alias font-util-native"
8RDEPENDS_${PN} = "encodings font-util font-alias" 8RDEPENDS_${PN} = "encodings font-util font-alias"
9 9
10XORG_PN = "${BPN}" 10XORG_PN = "${BPN}"
@@ -30,6 +30,7 @@ do_install_append() {
30 30
31FILES_${PN} += " ${libdir}/X11/fonts ${datadir}" 31FILES_${PN} += " ${libdir}/X11/fonts ${datadir}"
32 32
33PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native"
33pkg_postinst_${PN} () { 34pkg_postinst_${PN} () {
34 for fontdir in `find $D/usr/lib/X11/fonts -type d`; do 35 for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
35 mkfontdir $fontdir 36 mkfontdir $fontdir