summaryrefslogtreecommitdiff
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-19 22:51:08 +0000
commit7b2ab076386a6a8e92a90c0c804647feca61dd40 (patch)
tree771c387f55ad7822db1553b43d3093b2563f9aae
parentca2626a78f44a253adf4e93a1eae0ea323a0196f (diff)
downloadopenembedded-core-7b2ab076386a6a8e92a90c0c804647feca61dd40.tar.gz
openembedded-core-7b2ab076386a6a8e92a90c0c804647feca61dd40.tar.bz2
openembedded-core-7b2ab076386a6a8e92a90c0c804647feca61dd40.zip
xorg-font-common: Add PACKAGE_WRITE_DEPS for postinst
mkfontdir and mkfontscale are used in the postinstall script. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-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"
SECTION = "x11/fonts"
LICENSE = "MIT-X"
-DEPENDS = " encodings font-alias font-util-native mkfontdir-native mkfontscale-native"
+DEPENDS = " encodings font-alias font-util-native"
RDEPENDS_${PN} = "encodings font-util font-alias"
XORG_PN = "${BPN}"
@@ -30,6 +30,7 @@ do_install_append() {
FILES_${PN} += " ${libdir}/X11/fonts ${datadir}"
+PACKAGE_WRITE_DEPS += "mkfontdir-native mkfontscale-native"
pkg_postinst_${PN} () {
for fontdir in `find $D/usr/lib/X11/fonts -type d`; do
mkfontdir $fontdir