| Submitter | Richard Purdie |
|---|---|
| Date | Jan. 30, 2013, 2:01 p.m. |
| Message ID | <641edabb8ae3ff633bf5c9fd00e4e2117635c632.1359554291.git.richard.purdie@linuxfoundation.org> |
| Download | mbox | patch |
| Permalink | /patch/43699/ |
| State | Accepted |
| Commit | 8f602e84e6ae4e346acef7cf5473343039fa352a |
| Headers | show |
Comments
Patch
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 5f6cf80..fec3db6 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1680,7 +1680,7 @@ python read_shlibdeps () { packages = d.getVar('PACKAGES', True).split() for pkg in packages: - rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False) or "") + rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, True) or d.getVar('RDEPENDS', True) or "") for dep in pkglibdeps[pkg]: # Add the dep if it's not already there, or if no comparison is set if dep not in rdepends:
We may as well expand the RDEPENDS when reading and writing as this function does. if we don't do this, we could accidentally duplicate data and it also turns out to be much less efficient. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)