From: Saul Wold Date: Thu, 31 Jan 2013 19:02:23 +0000 (-0800) Subject: gtk-icon-cache: Fix rdepends construction X-Git-Tag: 2015-4~7759 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a718cf3179540e049fd0d750ce11a97f84addf40;p=openembedded-core.git 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 --- 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)