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>
This commit is contained in:
parent
e6149ec6c4
commit
7a3d352ab8
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue