diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2008-11-18 12:24:48 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2009-02-13 10:49:15 -0200 |
commit | a045dfacf6f2541e0f410d9d109581f181303756 (patch) | |
tree | e7b296967f07f7c87f53a23173cd2626de01048c /classes/package_ipk.bbclass | |
parent | d31d5a45da24b6e79632b95a8297815611e3b0cf (diff) |
package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages (ipk specific)
Diffstat (limited to 'classes/package_ipk.bbclass')
-rw-r--r-- | classes/package_ipk.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass index 3a977291ff..99f3793447 100644 --- a/classes/package_ipk.bbclass +++ b/classes/package_ipk.bbclass @@ -244,6 +244,10 @@ python do_package_ipk () { rprovides = (bb.data.getVar("RPROVIDES", localdata, 1) or "").split() rreplaces = (bb.data.getVar("RREPLACES", localdata, 1) or "").split() rconflicts = (bb.data.getVar("RCONFLICTS", localdata, 1) or "").split() + + if not '-locale-' and not '-dbg' and not '-dev' in pkgname + rdepends.append('%s-locale*' % pkgname) + if rdepends: ctrlfile.write("Depends: %s\n" % ", ".join(rdepends)) if rsuggests: |