diff options
-rw-r--r-- | classes/package.oeclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/package.oeclass b/classes/package.oeclass index cb87267e9e..c2e5a6b2b0 100644 --- a/classes/package.oeclass +++ b/classes/package.oeclass @@ -573,9 +573,9 @@ python package_do_split_locales() { oe.data.setVar('PACKAGES', ' '.join(packages), d) - rrec = (oe.data.getVar('RRECOMMENDS_%s' % mainpkg, d, 1) or oe.data.getVar('RRECOMMENDS', d, 1) or "").split() - rrec.append('%s-locale*' % pn) - oe.data.setVar('RRECOMMENDS_%s' % mainpkg, ' '.join(rrec), d) + rdep = (oe.data.getVar('RDEPENDS_%s' % mainpkg, d, 1) or oe.data.getVar('RDEPENDS', d, 1) or "").split() + rdep.append('%s-locale*' % pn) + oe.data.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep), d) } python package_do_package () { |