From a67d36b533172a564d131c0afbb9fe4607e2cb1d Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 27 Oct 2006 19:26:50 +0000 Subject: 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 --- meta/classes/base.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes') 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): 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 = {} -- cgit v1.2.3