From 2dd829fb1de8bbc2aa3bf29820b8b019871176ae Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Wed, 15 Feb 2023 11:00:21 +0100 Subject: [PATCH] build-github.sh: fix cloning DEY from GitHub Seems that 'meta-openembedded' repo does not allow shallow clones. It fails when '--depth' option is passed: $ git clone --depth 1 https://git.openembedded.org/meta-openembedded Cloning into 'meta-openembedded'... fatal: dumb http transport does not support shallow capabilities Remove that option to allow building DEY-4.0 from GitHub repos in the buildserver. Signed-off-by: Javier Viguera --- sdk/build-github.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/build-github.sh b/sdk/build-github.sh index 961f8de49..1ba6b6169 100755 --- a/sdk/build-github.sh +++ b/sdk/build-github.sh @@ -179,7 +179,7 @@ if pushd ${YOCTO_INST_DIR}; then error "Revision \"${DY_REVISION}\" not found" fi fi - yes "" 2>/dev/null | ${REPO} init --depth=1 --no-repo-verify -u ${MANIFEST_URL} ${repo_revision} + yes "" 2>/dev/null | ${REPO} init --no-repo-verify -u ${MANIFEST_URL} ${repo_revision} ${REPO} forall -p -c 'git remote prune $(git remote)' time ${REPO} sync -d ${MAKE_JOBS} popd