diff options
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 = {} |