[oe-commits] Bruce Ashfield : kernel-yocto: clarify KMETA branch comments
git at git.openembedded.org
git at git.openembedded.org
Thu Nov 22 07:54:00 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 421a2e2523a8f2c461479a1c0d44908cc1eaca6b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=421a2e2523a8f2c461479a1c0d44908cc1eaca6b
Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date: Wed Nov 21 16:32:25 2012 -0500
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]
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 f78d63b..0d4ed21 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -130,8 +130,9 @@ do_kernel_checkout() {
echo "WARNING. ${WORKDIR}/git is not a bare clone."
echo "Ensure that the SRC_URI includes the 'bareclone=1' option."
- # we can fix up the kernel repository, but at the least the meta
- # branch must be present. The machine branch may be created later.
+ # 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.
mv ${WORKDIR}/git/.git ${S}
rm -rf ${WORKDIR}/git/
cd ${S}
More information about the Openembedded-commits
mailing list