[poky] [PATCH 2/3] kernel-yocto.bbclass: adjust the git dir to fit with git unpack
Yu Ke
ke.yu at intel.com
Thu Jan 27 06:18:15 PST 2011
From: Yu Ke <ke.yu at intel.com>
Signed-off-by: Yu Ke <ke.yu at intel.com>
---
meta/classes/kernel-yocto.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 8479b39..ca1fb15 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}
--
1.7.0.4
More information about the poky
mailing list