[oe-commits] Bruce Ashfield : kernel-yocto: remove unnecessary non-bare warning

git at git.openembedded.org git at git.openembedded.org
Fri Jan 18 13:31:23 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 42d42c24a37af0ea8896087c7cc8215eb19f633d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=42d42c24a37af0ea8896087c7cc8215eb19f633d

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Fri Jan 18 00:19:26 2013 -0500

kernel-yocto: remove unnecessary non-bare warning

In the past working from a non-bare clone would cause problems,
due to branches not existing in the WORKDIR clone. This hasn't
been true for some time, since the routines which convert remotes
into local branches have been functioning without problems.

So we no longer need the warning and it can be removed.

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 |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index c74317e..99b3a46 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -120,15 +120,11 @@ do_kernel_checkout() {
 
 	# A linux yocto SRC_URI should use the bareclone option. That
 	# ensures that all the branches are available in the WORKDIR version
-	# of the repository. If it wasn't passed, we should detect it, and put
-	# out a useful error message
+	# of the repository. 
 	if [ -d "${WORKDIR}/git/" ] && [ -d "${WORKDIR}/git/.git" ]; then
 		# we build out of {S}, so ensure that ${S} is clean and present
 		rm -rf ${S}
 		mkdir -p ${S}
-
-		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 even if it wasn't a bare clone.
 		# If KMETA is defined, the branch must exist, but a machine branch





More information about the Openembedded-commits mailing list