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:42:53 +0100 |
commit | 737f8bbb4f27b4837047cb9b4fbfe01dfde36d54 (patch) | |
tree | d5c46ae303d1f9a7d722fb20d0f94dbe5b482b2e /meta/classes | |
parent | d380bb126a1e79d181437cb76f048579432394da (diff) | |
download | poky-737f8bbb4f27b4837047cb9b4fbfe01dfde36d54.tar.gz |
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!
(From OE-Core rev: 30064a98dc9049db4a37f119d15fbb59aa3c8377)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 3f5c904cf0..a9c510d27c 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1652,6 +1652,12 @@ PACKAGEFUNCS ?= "package_get_auto_pr \ | |||
1652 | emit_pkgdata" | 1652 | emit_pkgdata" |
1653 | 1653 | ||
1654 | python do_package () { | 1654 | python do_package () { |
1655 | # Change the following version to cause sstate to invalidate the package | ||
1656 | # cache. This is useful if an item this class depends on changes in a | ||
1657 | # way that the output of this class changes. rpmdeps is a good example | ||
1658 | # as any change to rpmdeps requires this to be rerun. | ||
1659 | # PACKAGE_BBCLASS_VERSION = "1" | ||
1660 | |||
1655 | packages = (bb.data.getVar('PACKAGES', d, True) or "").split() | 1661 | packages = (bb.data.getVar('PACKAGES', d, True) or "").split() |
1656 | if len(packages) < 1: | 1662 | if len(packages) < 1: |
1657 | bb.debug(1, "No packages to build, skipping do_package") | 1663 | bb.debug(1, "No packages to build, skipping do_package") |