aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshlee Young <ashlee@onosfw.com>2015-10-23 08:59:30 -0700
committerAshlee Young <ashlee@onosfw.com>2015-10-23 08:59:30 -0700
commitc62d20eb3b4620c06d833be06f50b2600d96dd42 (patch)
tree6cc8b0c1b7eaf313582596885196dbd491bb6bcd
parent0eedbbb1fd13ac72e020ad68c88ba03939db95ed (diff)
Added comments to the patching mechanism
Change-Id: I0ca904df82225c8e137854149ceccd13f20a9155 Signed-off-by: Ashlee Young <ashlee@onosfw.com>
-rwxr-xr-xbuild.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 07d4a68b..eb80f04f 100755
--- a/build.sh
+++ b/build.sh
@@ -31,10 +31,13 @@ BUILDROOT=$GERRITROOT/framework/build
JAVA_VERSION=1.8
ANT_VERSION=1.9.6
MAVEN_VERSION=3.3.3
+##### End Settings #####
+
+##### Patches #####
PATCHES=$GERRITROOT/framework/patches
SOURCES=$GERRITROOT/framework/src
PATCH_PATH_1=onos/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/sfc
-##### End Settings #####
+##### End Patches #####
##### Set build environment #####
source ./setenv.sh
@@ -97,8 +100,10 @@ updateONOS()
cd ../
rm -rf onosproject
cd $GERRITROOT
+ # Begin applying patches
mkdir -p framework/src/$PATCH_PATH_1
cp $PATCHES/$PATCH_PATH_1/* $SOURCES/$PATCH_PATH_1/
+ # End applying patches
fi
}
##### End Update ONOS #####