diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 10:01:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:53:50 +0000 |
commit | 5d01111eb80d20e0dd3a245bb6190af515b4cdac (patch) | |
tree | a923a03b6e4d051ca8e8b59362c44fec03a820aa | |
parent | 31943a7ecff47a58e111200ad524ae319b2d4603 (diff) | |
download | poky-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.inc | 3 |
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" | |||
4 | SECTION = "x11/fonts" | 4 | SECTION = "x11/fonts" |
5 | LICENSE = "MIT-X" | 5 | LICENSE = "MIT-X" |
6 | 6 | ||
7 | DEPENDS = " encodings font-alias font-util-native mkfontdir-native mkfontscale-native" | 7 | DEPENDS = " encodings font-alias font-util-native" |
8 | RDEPENDS_${PN} = "encodings font-util font-alias" | 8 | RDEPENDS_${PN} = "encodings font-util font-alias" |
9 | 9 | ||
10 | XORG_PN = "${BPN}" | 10 | XORG_PN = "${BPN}" |
@@ -30,6 +30,7 @@ do_install_append() { | |||
30 | 30 | ||
31 | FILES_${PN} += " ${libdir}/X11/fonts ${datadir}" | 31 | FILES_${PN} += " ${libdir}/X11/fonts ${datadir}" |
32 | 32 | ||
33 | PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native" | ||
33 | pkg_postinst_${PN} () { | 34 | pkg_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 |