diff options
| author | John Ogness <john.ogness@linutronix.de> | 2018-11-02 09:43:42 +0106 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2018-11-02 09:43:42 +0106 |
| commit | 46c7ae687e7a2e94bf3f1bab42aa68ff194da3af (patch) | |
| tree | ba80fd09caf78552fa835b916b5f206579857d37 /schulung_tools/layer-building/yocto/get-git-mirrors.sh | |
| parent | 10016deba10397bbe743ba80e602a9823483a709 (diff) | |
layer-building: add scripts to automatically build yocto layers
The yocto training requires a lot of data to be
prebuilt/downloaded (about 15GB). These scripts can be used
to automatically download/prebuild all that data and create
the various layer tarballs.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'schulung_tools/layer-building/yocto/get-git-mirrors.sh')
| -rwxr-xr-x | schulung_tools/layer-building/yocto/get-git-mirrors.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/schulung_tools/layer-building/yocto/get-git-mirrors.sh b/schulung_tools/layer-building/yocto/get-git-mirrors.sh new file mode 100755 index 0000000..369c703 --- /dev/null +++ b/schulung_tools/layer-building/yocto/get-git-mirrors.sh @@ -0,0 +1,11 @@ +#!/bin/sh +set -x +set -e + +test -w /opt/mirrors || exit 1 + +cd /opt/mirrors + +git clone --mirror git://git.yoctoproject.org/poky.git +git clone --mirror git://git.yoctoproject.org/yocto-docs.git +git clone --mirror git://git.yoctoproject.org/meta-freescale.git |
