[oe-commits] =?UTF-8?Q?Petter=20Mab=C3=A4cker=20?=: xorg-minimal-fonts: set and handle S in a proper way

git at git.openembedded.org git at git.openembedded.org
Fri Jan 23 11:36:53 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: dd7be09318b55a69cb8636e86d2af6e6b8140b31
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=dd7be09318b55a69cb8636e86d2af6e6b8140b31

Author: Petter Mabäcker <petter at technux.se>
Date:   Tue Jan  6 22:26:11 2015 +0100

xorg-minimal-fonts: set and handle S in a proper way

After removal of auto-creating S we must ensure that all recipes are
using a proper value for S. Also do some minor adjustment after changing
value of S.

[YOCTO #5627]

Signed-off-by: Petter Mabäcker <petter at technux.se>

---

 meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
index 3688685..bee500b 100644
--- a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
+++ b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
@@ -15,13 +15,15 @@ PR = "r2"
 
 inherit allarch
 
+S = "${WORKDIR}/misc"
+
 PACKAGES = "${PN}"
 FILES_${PN} = "${libdir}/X11/ ${datadir}/fonts/X11/"
 RDEPENDS_${PN} += "font-alias"
 
 do_install() {
 	install -d ${D}/${datadir}/fonts/X11/misc
-	install -m 0644 ${WORKDIR}/misc/* ${D}/${datadir}/fonts/X11/misc/
+	install -m 0644 ${S}/* ${D}/${datadir}/fonts/X11/misc/
 	install -d ${D}/${libdir}/X11
 	ln -sf ${datadir}/fonts/X11/ ${D}/${libdir}/X11/fonts -s
 }



More information about the Openembedded-commits mailing list