diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-01-28 13:07:06 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-01 13:03:27 +0000 |
commit | 61001aa702441c17cab444c281953b2945c34216 (patch) | |
tree | 9cb5f6688bd643eefe9685523ff48055219514b7 /meta/classes/package_ipk.bbclass | |
parent | 2af25458fcabd62c96574c9ff2eed033cf09001e (diff) | |
download | poky-61001aa702441c17cab444c281953b2945c34216.tar.gz |
kernel-yocto: respect SRC_URI modified branch selection
Although the setting of KBRANCH is the suggested/primary way to interact with
the yocto kern-tools and the fetcher, some users may be more comfortable
modifying the SRC_URI branch parameter directly.
If they do, the tools will not force their branch and build output will be
different then they expect, in non obvious ways.
It's easy enough to detect this scenario, but checking the SRC_URI in the
same way that the git fetcher checks for the branch (and SRCREV). If we take
the value from the SRC_URI and use it directly in the patch/validate/update
routines, we'll stay consistent with KBRANCH if it is used, and also
automatically adapt to a manually changed branch parameter on the SRC_URI.
For all other users, there are no visible or behavioural changes as a result
of this change
(From OE-Core rev: cfce8643ed166b51d7178be173677ea6f527d453)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
0 files changed, 0 insertions, 0 deletions