summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel-yocto.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index d914b11bef..1e08faa90e 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -147,10 +147,10 @@ do_kernel_checkout() {
147 fi 147 fi
148 done 148 done
149 149
150 # Create a working tree copy of the kernel by checkout out a branch 150 # Create a working tree copy of the kernel by checking out a branch
151 git show-ref --quiet --verify -- "refs/heads/${KBRANCH}" 151 git show-ref --quiet --verify -- "refs/heads/${KBRANCH}"
152 if [ $? -eq 0 ]; then 152 if [ $? -eq 0 ]; then
153 # checkout and clobber and unimportant files 153 # checkout and clobber any unimportant files
154 git checkout -f ${KBRANCH} 154 git checkout -f ${KBRANCH}
155 else 155 else
156 echo "Not checking out ${KBRANCH}, it will be created later" 156 echo "Not checking out ${KBRANCH}, it will be created later"
@@ -200,7 +200,7 @@ python do_kernel_configcheck() {
200} 200}
201 201
202 202
203# Ensure that the branches (BSP and meta) are on the locatios specified by 203# Ensure that the branches (BSP and meta) are on the locations specified by
204# their SRCREV values. If they are NOT on the right commits, the branches 204# their SRCREV values. If they are NOT on the right commits, the branches
205# are reset to the correct commit. 205# are reset to the correct commit.
206do_validate_branches() { 206do_validate_branches() {