]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: enforce SRC_URI specified branch
authorBruce Ashfield <bruce.ashfield@windriver.com>
Sat, 2 Apr 2016 00:09:26 +0000 (20:09 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Apr 2016 14:51:09 +0000 (15:51 +0100)
commitd91a668bc0f6c2cfc52174b4039c7ea0d84e8d4d
treecc1f54d813ed2decdca50be5b9fc51e14f940fce
parent967009e91472db109bb94c8f865924fef1beaa22
kernel-yocto: enforce SRC_URI specified branch

During the simplication and cleanup of branches and kernel meta data
handling, the ability to force build a branch that didn't match the
meta data was dropped.

There are valid uses cases when a different branch should be built
(testing, development, etc), so we restore the capability with this
change.

If after the kernel meta data is processed the current branch does
not match the SRC_URI specified branch, a warning is generated
about the impending branch switch and that the user should double
check that they are building what they expect.

  WARNING: After meta data application, the kernel tree branch is standard/base. The
  WARNING: SRC_URI specified branch standard/gt. The branch will be forced to standard/gt,
  WARNING: but this means the board meta data (.scc files) do not match the SRC_URI specification.
  WARNING: The meta data and branch standard/gt should be inspected to ensure the proper
  WARNING: kernel is being built.

Reported-by: Steve Sakoman" <steve.sakoman@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass