diff options
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 30f97fac8f..58de841666 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -825,8 +825,8 @@ python package_depchains() { | |||
825 | prefixes = (bb.data.getVar('DEPCHAIN_PRE', d, 1) or '').split() | 825 | prefixes = (bb.data.getVar('DEPCHAIN_PRE', d, 1) or '').split() |
826 | 826 | ||
827 | def pkg_addrrecs(pkg, base, suffix, getname, rdepends, d): | 827 | def pkg_addrrecs(pkg, base, suffix, getname, rdepends, d): |
828 | def packaged(pkg, d): | 828 | #def packaged(pkg, d): |
829 | return os.access(bb.data.expand('${PKGDATA_DIR}/runtime/%s.packaged' % pkg, d), os.R_OK) | 829 | # return os.access(bb.data.expand('${PKGDATA_DIR}/runtime/%s.packaged' % pkg, d), os.R_OK) |
830 | 830 | ||
831 | #bb.note('rdepends for %s is %s' % (base, rdepends)) | 831 | #bb.note('rdepends for %s is %s' % (base, rdepends)) |
832 | 832 | ||
@@ -834,7 +834,7 @@ python package_depchains() { | |||
834 | 834 | ||
835 | for depend in rdepends: | 835 | for depend in rdepends: |
836 | pkgname = getname(depend, suffix) | 836 | pkgname = getname(depend, suffix) |
837 | if not pkgname in rreclist and packaged(pkgname, d): | 837 | if not pkgname in rreclist: |
838 | rreclist.append(pkgname) | 838 | rreclist.append(pkgname) |
839 | 839 | ||
840 | #bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist))) | 840 | #bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist))) |