fix(mkimg): use blobless clone instead of shadow clone
To make sure updating existed repo work Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
This commit is contained in:
parent
fc6ab3400c
commit
e1e85f4250
1 changed files with 2 additions and 2 deletions
4
mkimg
4
mkimg
|
@ -82,7 +82,7 @@ then
|
||||||
git checkout v2023.04
|
git checkout v2023.04
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
git clone --depth 1 -b v2023.04 https://github.com/u-boot/u-boot.git
|
git clone --filter=blob:none -b v2023.04 https://github.com/u-boot/u-boot.git
|
||||||
fi
|
fi
|
||||||
pushd u-boot
|
pushd u-boot
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ then
|
||||||
git checkout v2023.04
|
git checkout v2023.04
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
git clone --depth 1 -b v1.2 https://github.com/riscv-software-src/opensbi
|
git clone --filter=blob:none -b v1.2 https://github.com/riscv-software-src/opensbi
|
||||||
fi
|
fi
|
||||||
pushd opensbi
|
pushd opensbi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue