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:
Celeste Liu 2023-07-10 18:41:45 +08:00
parent fc6ab3400c
commit e1e85f4250
No known key found for this signature in database
GPG key ID: E35C89E45867AE35

4
mkimg
View file

@ -82,7 +82,7 @@ then
git checkout v2023.04
popd
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
pushd u-boot
@ -101,7 +101,7 @@ then
git checkout v2023.04
popd
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
pushd opensbi