From a045dfacf6f2541e0f410d9d109581f181303756 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 18 Nov 2008 12:24:48 -0200 Subject: package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages (ipk specific) --- classes/package_ipk.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'classes/package_ipk.bbclass') 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: -- cgit v1.2.3