Checkout only first level of IVS submodules
The submodules have submodules with authenticated URLs which breaks anonymous, automated builds. Excluding them also decreases build time. git -C is not available in git 1.8 (CentOS 7)
This commit is contained in:
+2
-1
@@ -418,8 +418,9 @@ function ivs {
|
|||||||
|
|
||||||
# Install IVS from source
|
# Install IVS from source
|
||||||
cd $BUILD_DIR
|
cd $BUILD_DIR
|
||||||
git clone git://github.com/floodlight/ivs $IVS_SRC --recursive
|
git clone git://github.com/floodlight/ivs $IVS_SRC
|
||||||
cd $IVS_SRC
|
cd $IVS_SRC
|
||||||
|
git submodule update --init
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user