diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-11-21 16:32:25 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-22 07:53:33 +0000 |
commit | 5fd5ba6a68f561ee18a3b55ba78e5e2d2edae6f4 (patch) | |
tree | bdb2edd80210bae04278f5262207ebbf8ae8f95d | |
parent | 01ff7003cd82d3a549da7b761d64cc1d634012ae (diff) | |
download | poky-5fd5ba6a68f561ee18a3b55ba78e5e2d2edae6f4.tar.gz |
kernel-yocto: clarify KMETA branch comments
Having a meta branch is not strictly required by the tools (and
recipes like linux-yocto-custom do not have meta branches), but the
comments in the kernel-yocto.bbclass could lead someone to think that
it was required.
This commit clearifies the comment to the following:
# We can fix up the kernel repository even if it wasn't a bare clone.
# If KMETA is defined, the branch must exist, but a machine branch
# can be missing since it may be created later by the tools.
[YOCTO #3422]
(From OE-Core rev: 421a2e2523a8f2c461479a1c0d44908cc1eaca6b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index f78d63b349..0d4ed21e3a 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -130,8 +130,9 @@ do_kernel_checkout() { | |||
130 | echo "WARNING. ${WORKDIR}/git is not a bare clone." | 130 | echo "WARNING. ${WORKDIR}/git is not a bare clone." |
131 | echo "Ensure that the SRC_URI includes the 'bareclone=1' option." | 131 | echo "Ensure that the SRC_URI includes the 'bareclone=1' option." |
132 | 132 | ||
133 | # we can fix up the kernel repository, but at the least the meta | 133 | # We can fix up the kernel repository even if it wasn't a bare clone. |
134 | # branch must be present. The machine branch may be created later. | 134 | # If KMETA is defined, the branch must exist, but a machine branch |
135 | # can be missing since it may be created later by the tools. | ||
135 | mv ${WORKDIR}/git/.git ${S} | 136 | mv ${WORKDIR}/git/.git ${S} |
136 | rm -rf ${WORKDIR}/git/ | 137 | rm -rf ${WORKDIR}/git/ |
137 | cd ${S} | 138 | cd ${S} |