[oe-commits] Saul Wold : gtk-icon-cache: Fix rdepends construction
git at git.openembedded.org
git at git.openembedded.org
Fri Feb 1 15:55:34 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: a718cf3179540e049fd0d750ce11a97f84addf40
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a718cf3179540e049fd0d750ce11a97f84addf40
Author: Saul Wold <sgw at linux.intel.com>
Date: Thu Jan 31 11:02:23 2013 -0800
gtk-icon-cache: Fix rdepends construction
The rdepends getVar is returning NoneType and the string constuction fails
this occurs with the hicolor-icon-theme recipe.
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/classes/gtk-icon-cache.bbclass | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index d5fdcd5..cf33efd 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -67,9 +67,8 @@ python populate_packages_append () {
continue
bb.note("adding hicolor-icon-theme dependency to %s" % pkg)
- rdepends = d.getVar('RDEPENDS_%s' % pkg, True)
- rdepends = rdepends + ' ' + d.getVar('MLPREFIX') + "hicolor-icon-theme"
- d.setVar('RDEPENDS_%s' % pkg, rdepends)
+ rdepends = ' ' + d.getVar('MLPREFIX') + "hicolor-icon-theme"
+ d.appendVar('RDEPENDS_%s' % pkg, rdepends)
bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
More information about the Openembedded-commits
mailing list