diff options
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-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} |