From 46c7ae687e7a2e94bf3f1bab42aa68ff194da3af Mon Sep 17 00:00:00 2001 From: John Ogness Date: Fri, 2 Nov 2018 09:43:42 +0106 Subject: 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 --- schulung_tools/layer-building/yocto/get-git-mirrors.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 schulung_tools/layer-building/yocto/get-git-mirrors.sh (limited to 'schulung_tools/layer-building/yocto/get-git-mirrors.sh') 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 -- cgit v1.2.3