summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-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 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
609def 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
610def read_pkgdatafile(fn): 613def read_pkgdatafile(fn):
611 pkgdata = {} 614 pkgdata = {}