forked from public/airgap
download all sources up-front to enable offline builds
This commit is contained in:
parent
2a81684f63
commit
07075f5abf
|
@ -12,7 +12,11 @@ buildroot_ref=${BUILDROOT_REF?}
|
|||
> ~/.gitconfig
|
||||
|
||||
mkdir -p "$build_dir"
|
||||
|
||||
[ "$(ls -A $build_dir)" ] && exit 0
|
||||
|
||||
git clone "$buildroot_repo" "$buildroot_dir"
|
||||
git -C "$buildroot_dir" checkout "$buildroot_ref"
|
||||
cd "$buildroot_dir"
|
||||
make "airgap_${TARGET}_defconfig"
|
||||
make source
|
||||
|
|
Loading…
Reference in New Issue