]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: Add a string representing the lsb release to native/cross sstate
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2012 12:56:58 +0000 (12:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Jul 2012 13:48:10 +0000 (14:48 +0100)
commit9360fc318cec5c873b17f59b817dd6312c81ee27
tree913880b5ce54e00ee81dc81200d604c9677dcf5b
parent5d45c7b025f6635b2232d7bf92b7c1aba350396b
sstate.bbclass: Add a string representing the lsb release to native/cross sstate

This patch adds the lsb name and revision to the path used for sstate files.
This means that reuse of sstate files between different distributions is restricted
by default. The behaviour can be configured using mirror urls, for example:

SSTATE_MIRRORS = "file://Ubuntu-11.10/(.*) file://Ubuntu/\1 \n"

would map Ubuntu 11.10 to a more generic "Ubuntu" named sstate feed.

Usually, more modern distros have increased libc versions for example
so whilst more older native/cross sstate packages will usually work on newer
distros, the opposite is not true. This patch allows development of policy
to better handle this although no default policy is currently being used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass