summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-01-18 00:19:26 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-18 13:28:09 +0000
commit11bafdee06a93e68fca00bd45120777163b19df8 (patch)
tree0fc3d723498964369477b9d0e672c6969a41c168 /meta
parent363cb2bfeee5a5f04a6621bf93bee4e3d43656ba (diff)
downloadpoky-11bafdee06a93e68fca00bd45120777163b19df8.tar.gz
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. (From OE-Core rev: 42d42c24a37af0ea8896087c7cc8215eb19f633d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-yocto.bbclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index c74317e9bd..99b3a464a9 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -120,15 +120,11 @@ do_kernel_checkout() {
120 120
121 # A linux yocto SRC_URI should use the bareclone option. That 121 # A linux yocto SRC_URI should use the bareclone option. That
122 # ensures that all the branches are available in the WORKDIR version 122 # ensures that all the branches are available in the WORKDIR version
123 # of the repository. If it wasn't passed, we should detect it, and put 123 # of the repository.
124 # out a useful error message
125 if [ -d "${WORKDIR}/git/" ] && [ -d "${WORKDIR}/git/.git" ]; then 124 if [ -d "${WORKDIR}/git/" ] && [ -d "${WORKDIR}/git/.git" ]; then
126 # we build out of {S}, so ensure that ${S} is clean and present 125 # we build out of {S}, so ensure that ${S} is clean and present
127 rm -rf ${S} 126 rm -rf ${S}
128 mkdir -p ${S} 127 mkdir -p ${S}
129
130 echo "WARNING. ${WORKDIR}/git is not a bare clone."
131 echo "Ensure that the SRC_URI includes the 'bareclone=1' option."
132 128
133 # We can fix up the kernel repository even if it wasn't a bare clone. 129 # We can fix up the kernel repository even if it wasn't a bare clone.
134 # If KMETA is defined, the branch must exist, but a machine branch 130 # If KMETA is defined, the branch must exist, but a machine branch