download all sources up front for offline builds

This commit is contained in:
Lance Vick 2020-06-15 10:21:28 -07:00
parent 622272fb2c
commit a04256641a
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 2 additions and 0 deletions

View File

@ -15,3 +15,5 @@ buildroot_ref=${BUILDROOT_REF?}
mkdir -p "$build_dir"
git clone "$buildroot_repo" "$buildroot_dir"
git -C "$buildroot_dir" checkout "$buildroot_ref"
cd "$buildroot_dir"
make source