aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorAshlee Young <ashlee@wildernessvoice.com>2015-12-08 11:32:02 -0800
committerAshlee Young <ashlee@wildernessvoice.com>2015-12-08 11:32:02 -0800
commitf9da5db0ff14879e47a6d83244ba63d45b4d432d (patch)
tree30ae7124d2650f556252245ffd3c68ae1b7d845f /build.sh
parent76dc892491948adae5e5e62cf94448967e8d865b (diff)
onos-1.4.0-rc1 tag
Change-Id: I7f6b85bbf2574b9e174ad919ff36acde28ca50a1 Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index f6dd0b16..1dfca199 100755
--- a/build.sh
+++ b/build.sh
@@ -18,9 +18,9 @@
# limitations under the License.
##### Settings #####
-VERSION=1.0.8
+VERSION=1.0.9
AUTHOR="Ashlee Young"
-MODIFIED="December 6, 2015"
+MODIFIED="December 8, 2015"
GERRITURL="git clone ssh://im2bz2pee@gerrit.opnfv.org:29418/onosfw"
ONOSURL="https://github.com/opennetworkinglab/onos"
SURICATAURL="https://github.com/inliniac/suricata"
@@ -77,6 +77,7 @@ export RPMBUILDPATH=~/rpmbuild
export PATCHES=$GERRITROOT/framework/patches
export SURICATAROOT=$BUILDROOT/suricata
export SURICATASRC=$GERRITROOT/framework/src/suricata
+export ONOSTAG=b209dc68e239009a9c1fdfe6fddeca0cf94fe9bf # 1.4.0-rc1 tag
##### End Set build environment #####
##### Ask Function #####
@@ -135,11 +136,14 @@ updateONOS()
printf "\n"
cd $BUILDROOT
git clone $ONOSURL onosproject
+ cd onosproject
+ git checkout $ONOSTAG
+ cd ../
rsync -arvP --delete --exclude=.git --exclude=.gitignore --exclude=.gitreview onosproject/ ../src/onos/
cd onosproject
git log > ../onos_update.$(date +%s)
cd ../
- rm -rf onosproject
+ #rm -rf onosproject
cd $GERRITROOT
# End applying patches
fi
@@ -572,3 +576,4 @@ main()
##### End Execution order #####
main # Launches the build process
+