mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +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:
@@ -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