blob: fc85e6bceef03b4da51707b17239980b258034c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# (c) 2016 Jan-Simon Moeller, dl9pf(at)gmx.de
# License: GPLv2
################################################################################
## Repo init/sync
################################################################################
# create shared downloads and sstate-cache directory
mkdir -p downloads
mkdir -p sstate-cache
# remove old files, we want to test a fresh clone
export XTMP="$$"
mv repoclone repoclone$XTMP || true
( rm -rf repoclone$XTMP & ) || true
mkdir -p repoclone
cd repoclone
export REPODIR=`pwd`
repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
# next: repo sync and dump manifest
repo sync --force-sync --detach --no-clone-bundle
|