diff options
author | Chris Larson <kergoth@openedhand.com> | 2006-10-27 19:26:50 +0000 |
---|---|---|
committer | Chris Larson <kergoth@openedhand.com> | 2006-10-27 19:26:50 +0000 |
commit | a67d36b533172a564d131c0afbb9fe4607e2cb1d (patch) | |
tree | 533916da39364a7e65acedc0388c639e6617cc27 /meta | |
parent | d726bba0e0cf415fcf908e38b2335ff68b6f8f61 (diff) | |
download | poky-a67d36b533172a564d131c0afbb9fe4607e2cb1d.tar.gz |
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.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 3a393a04db..299bf7bee2 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -606,6 +606,9 @@ def explode_deps(s): | |||
606 | r.append(i) | 606 | r.append(i) |
607 | return r | 607 | return r |
608 | 608 | ||
609 | def packaged(pkg, d): | ||
610 | import os, bb | ||
611 | return os.access(bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s.packaged' % pkg, d), os.R_OK) | ||
609 | 612 | ||
610 | def read_pkgdatafile(fn): | 613 | def read_pkgdatafile(fn): |
611 | pkgdata = {} | 614 | pkgdata = {} |