From f6bddde2a69d3d898b67b7c55fc4783f4de5b671 Mon Sep 17 00:00:00 2001 From: zhaohonghao Date: Tue, 13 May 2025 11:07:24 +0800 Subject: [PATCH] ethercat: igh package download lfs mode igh package download lfs mode Signed-off-by: zhaohonghao --- demos/x86_64/build/build_fetch.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/demos/x86_64/build/build_fetch.sh b/demos/x86_64/build/build_fetch.sh index 4b6f4a23..4d26e6d1 100755 --- a/demos/x86_64/build/build_fetch.sh +++ b/demos/x86_64/build/build_fetch.sh @@ -31,8 +31,10 @@ pushd ../../../src/net/ rm -rf ./ethercat git clone --depth=1 --filter=blob:none --sparse https://gitee.com/openeuler/oee_archive.git cd oee_archive -git sparse-checkout init --cone -git sparse-checkout set "igh-ethercat" +git lfs install +git config core.sparseCheckout true +echo "igh-ethercat/" >> .git/info/sparse-checkout +git checkout master cp igh-ethercat/igh_master_20230720.tar.gz ../ cd ../ rm -rf oee_archive -- Gitee