summaryrefslogtreecommitdiffstats
path: root/build/packages/make_onos.sh
blob: 2b94c9792bb71679e3c61d635e2ab7f29a1a5f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
WORK_PATH=$(cd "$(dirname "$0")"/..; pwd)

source $WORK_PATH/build/build.conf

mkdir -p $WORK_PATH/work/repo/packages/onos
for i in repository.tar jdk-8u51-linux-x64.tar.gz; do
    curl --connect-timeout $TIMEOUT -o $WORK_PATH/work/repo/packages/onos/$i $PACKAGE_URL/$i
done

git  clone https://gerrit.opnfv.org/gerrit/onosfw  $WORK_PATH/work/repo/temp/onosfw

pushd .
cd $WORK_PATH/work/repo/temp/onosfw/
. autobuild.sh $WORK_PATH/work/repo/packages/onos
popd