git.sh: don't include --checkout in submodules
this is an oversight in the last few commits. canoeboot must not use --checkout, because doing so would download blob repositories from coreboot.org by only including "--init" in the submodule command, coreboot's build system skips almost all blobs. (and then canoeboot deletes any remaining stragglers) Signed-off-by: Leah Rowe <info@minifree.org>audit2-merge1
parent
5e0129eb0f
commit
24934e6569
|
@ -121,7 +121,7 @@ git_prep()
|
|||
prep_submodules()
|
||||
{
|
||||
[ -f "$tmpgit/.gitmodules" ] || return 0
|
||||
git -C "$tmpgit" submodule update --init --checkout || $err "$1: !mod"
|
||||
git -C "$tmpgit" submodule update --init || $err "$1: !mod"
|
||||
|
||||
mdir="${PWD}/config/submodule/$project"
|
||||
[ -n "$tree" ] && mdir="$mdir/$tree"
|
||||
|
|
Loading…
Reference in New Issue