base.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.
authorChris Larson <kergoth@openedhand.com>
Fri, 27 Oct 2006 19:26:50 +0000 (19:26 +0000)
committerChris Larson <kergoth@openedhand.com>
Fri, 27 Oct 2006 19:26:50 +0000 (19:26 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@824 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/base.bbclass

index 3a393a0..299bf7b 100644 (file)
@@ -606,6 +606,9 @@ def explode_deps(s):
                        r.append(i)
        return r
 
+def packaged(pkg, d):
+       import os, bb
+       return os.access(bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s.packaged' % pkg, d), os.R_OK)
 
 def read_pkgdatafile(fn):
        pkgdata = {}