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 <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2023-02-15 11:00:21 +01:00
parent 925d96155b
commit 2dd829fb1d
1 changed files with 1 additions and 1 deletions

View File

@ -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