mirror of
https://git.yoctoproject.org/poky
synced 2026-10-23 07:28:17 +00:00
linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvements
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
0e837e6844
commit
8b5b3cca7d
3 files changed
+4
-6
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user