diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-09-19 10:11:11 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-21 13:36:27 +0100 |
commit | 30064a98dc9049db4a37f119d15fbb59aa3c8377 (patch) | |
tree | f0719d755679459d45c3088a013ca8e80fd10096 /meta/classes/package.bbclass | |
parent | 50232671951e0b69d52a685b82a10be335458292 (diff) | |
download | openembedded-core-30064a98dc9049db4a37f119d15fbb59aa3c8377.tar.gz openembedded-core-30064a98dc9049db4a37f119d15fbb59aa3c8377.tar.bz2 openembedded-core-30064a98dc9049db4a37f119d15fbb59aa3c8377.tar.xz openembedded-core-30064a98dc9049db4a37f119d15fbb59aa3c8377.zip |
Update python dependencies to be simply to "python"
Previously python dependencies were of the format "python(abi) = ..."
This format is not yet supportable within OE, so revert to a form
we know we can handle.
Introduce a change to package.bbclass that ensures it will causes the
sstate-cache's "package" to invalidate. Since pythondeps changed, the
output of rpmdeps changes, which causes the per-file dependency
information to change.... thus we need to invalidate the cache!
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 3f5c904cf..a9c510d27 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1652,6 +1652,12 @@ PACKAGEFUNCS ?= "package_get_auto_pr \ emit_pkgdata" python do_package () { + # Change the following version to cause sstate to invalidate the package + # cache. This is useful if an item this class depends on changes in a + # way that the output of this class changes. rpmdeps is a good example + # as any change to rpmdeps requires this to be rerun. + # PACKAGE_BBCLASS_VERSION = "1" + packages = (bb.data.getVar('PACKAGES', d, True) or "").split() if len(packages) < 1: bb.debug(1, "No packages to build, skipping do_package") |