aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-icon-cache.bbclass
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-01-31 11:02:23 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-01 15:53:30 +0000
commita718cf3179540e049fd0d750ce11a97f84addf40 (patch)
treee844104960c862d00ce96bc731d555ce39d559d4 /meta/classes/gtk-icon-cache.bbclass
parent64749308fadabb4aa7c39f360c6395827bc5eb3a (diff)
downloadopenembedded-core-a718cf3179540e049fd0d750ce11a97f84addf40.tar.gz
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@linux.intel.com>
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
-rw-r--r--meta/classes/gtk-icon-cache.bbclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index d5fdcd521d..cf33efd5a6 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)