summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-10-27 19:26:50 +0000
committerChris Larson <kergoth@openedhand.com>2006-10-27 19:26:50 +0000
commita67d36b533172a564d131c0afbb9fe4607e2cb1d (patch)
tree533916da39364a7e65acedc0388c639e6617cc27 /meta
parentd726bba0e0cf415fcf908e38b2335ff68b6f8f61 (diff)
downloadopenembedded-core-a67d36b533172a564d131c0afbb9fe4607e2cb1d.tar.gz
openembedded-core-a67d36b533172a564d131c0afbb9fe4607e2cb1d.tar.bz2
openembedded-core-a67d36b533172a564d131c0afbb9fe4607e2cb1d.tar.xz
openembedded-core-a67d36b533172a564d131c0afbb9fe4607e2cb1d.zip
base.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@824 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 3a393a04d..299bf7bee 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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 = {}