]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk-icon-cache: Fix rdepends construction
authorSaul Wold <sgw@linux.intel.com>
Thu, 31 Jan 2013 19:02:23 +0000 (11:02 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:53:30 +0000 (15:53 +0000)
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>
meta/classes/gtk-icon-cache.bbclass

index d5fdcd521d83c8a285057d04a2139191b9869c37..cf33efd5a6f3951cb128d22764e31e933a4513f4 100644 (file)
@@ -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)