summaryrefslogtreecommitdiffstats
path: root/meta
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:54:31 +0000
commit7a3d352ab801a509cae1d17f05ebe69498d25c65 (patch)
tree025e6e8b76b2f4e6ad3ba8e6b414b961d00449bd /meta
parente6149ec6c4c14d3a939022cdc29ac94dced836dd (diff)
downloadpoky-7a3d352ab801a509cae1d17f05ebe69498d25c65.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. (From OE-Core rev: a718cf3179540e049fd0d750ce11a97f84addf40) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () {
67 continue 67 continue
68 68
69 bb.note("adding hicolor-icon-theme dependency to %s" % pkg) 69 bb.note("adding hicolor-icon-theme dependency to %s" % pkg)
70 rdepends = d.getVar('RDEPENDS_%s' % pkg, True) 70 rdepends = ' ' + d.getVar('MLPREFIX') + "hicolor-icon-theme"
71 rdepends = rdepends + ' ' + d.getVar('MLPREFIX') + "hicolor-icon-theme" 71 d.appendVar('RDEPENDS_%s' % pkg, rdepends)
72 d.setVar('RDEPENDS_%s' % pkg, rdepends)
73 72
74 bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) 73 bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
75 74