Added comments to the patching mechanism 59/2759/1
authorAshlee Young <ashlee@onosfw.com>
Fri, 23 Oct 2015 15:59:30 +0000 (08:59 -0700)
committerAshlee Young <ashlee@onosfw.com>
Fri, 23 Oct 2015 15:59:30 +0000 (08:59 -0700)
Change-Id: I0ca904df82225c8e137854149ceccd13f20a9155
Signed-off-by: Ashlee Young <ashlee@onosfw.com>
build.sh

index 07d4a68..eb80f04 100755 (executable)
--- 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 #####