[yocto] [meta-cloud-services][PATCH] python-horizon: remove nodejs from RDEPENDS of powerpc arch

Zhenhua Luo zhenhua.luo at freescale.com
Tue Nov 19 01:28:11 PST 2013


Nodejs only supports arm, x86 and ia32 archs, it doesn't support powerpc.

Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 meta-openstack/recipes-devtools/python/python-horizon_2013.1.3.bb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta-openstack/recipes-devtools/python/python-horizon_2013.1.3.bb b/meta-openstack/recipes-devtools/python/python-horizon_2013.1.3.bb
index fdd0bd0..edd8dae 100644
--- a/meta-openstack/recipes-devtools/python/python-horizon_2013.1.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-horizon_2013.1.3.bb
@@ -63,8 +63,7 @@ FILES_${SRCNAME} = "${bindir}/* \
     ${datadir}/* \
     "
 
-RDEPENDS_${PN} += "nodejs \
-    python-django \
+RDEPENDS_${PN} += " python-django \
     python-django-appconf \
     python-django-compressor \
     python-django-openstack-auth \
@@ -80,6 +79,11 @@ RDEPENDS_${PN} += "nodejs \
     python-lockfile \
     "
 
+RDEPENDS_${PN}_arm += " nodejs"
+RDEPENDS_${PN}_i686 += " nodejs"
+RDEPENDS_${PN}_x86-64 += " nodejs"
+RDEPENDS_${PN}_ia32 += " nodejs"
+
 RDEPENDS_${SRCNAME} = "${PN}"
 
 INITSCRIPT_PACKAGES = "${SRCNAME}"
-- 
1.8.3.1





More information about the yocto mailing list