forked from public/airgap
1
0
Fork 0

download all sources up-front to enable offline builds

This commit is contained in:
Lance Vick 2020-06-16 20:29:26 -07:00
parent 2a81684f63
commit 07075f5abf
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 4 additions and 0 deletions

View File

@ -12,7 +12,11 @@ buildroot_ref=${BUILDROOT_REF?}
> ~/.gitconfig > ~/.gitconfig
mkdir -p "$build_dir" mkdir -p "$build_dir"
[ "$(ls -A $build_dir)" ] && exit 0
git clone "$buildroot_repo" "$buildroot_dir" git clone "$buildroot_repo" "$buildroot_dir"
git -C "$buildroot_dir" checkout "$buildroot_ref" git -C "$buildroot_dir" checkout "$buildroot_ref"
cd "$buildroot_dir" cd "$buildroot_dir"
make "airgap_${TARGET}_defconfig"
make source make source