summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-02 17:16:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-02 17:19:18 +0000
commit8b5b3cca7dd096680ce16b02e35399cd12d487f9 (patch)
tree0848269939452a46104344f3a387fb459e2b82ca /meta/classes/kernel-yocto.bbclass
parent0e837e6844be449659bb96a1498e54a8b9442d13 (diff)
downloadopenembedded-core-8b5b3cca7dd096680ce16b02e35399cd12d487f9.tar.gz
openembedded-core-8b5b3cca7dd096680ce16b02e35399cd12d487f9.tar.bz2
openembedded-core-8b5b3cca7dd096680ce16b02e35399cd12d487f9.tar.xz
openembedded-core-8b5b3cca7dd096680ce16b02e35399cd12d487f9.zip
linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvements
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 70521a4fb..9ca7758bb 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -89,11 +89,11 @@ do_patch() {
}
do_kernel_checkout() {
- if [ -d ${WORKDIR}/.git/refs/remotes/origin ]; then
+ if [ -d ${WORKDIR}/git/.git/refs/remotes/origin ]; then
echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}"
rm -rf ${S}
mkdir ${S}
- mv ${WORKDIR}/.git ${S}
+ mv ${WORKDIR}/git/.git ${S}
if [ -e ${S}/.git/packed-refs ]; then
cd ${S}