[oe] package.bbclass: don't add self to recommends

pHilipp Zabel philipp.zabel at gmail.com
Thu Aug 23 08:40:42 UTC 2007


Hi, does this look about right?

--- classes/package.bbclass	a4793b3e861b8e79ae72fd8fb897b01aff983b38
+++ classes/package.bbclass	95993d7a94c96ec0b687e66d4ac193342e4ed901
@@ -848,7 +848,7 @@ python package_depchains() {

 		for depend in rdepends:
 			pkgname = getname(depend, suffix)
-			if not pkgname in rreclist and packaged(pkgname, d):
+			if pkgname != pkg and not pkgname in rreclist and packaged(pkgname, d):
 				rreclist.append(pkgname)

 		#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist)))

cheers
Philipp




More information about the Openembedded-devel mailing list