Skip to content

Commit

Permalink
Fix ofsoftswitch13 compilation and pin the commit
Browse files Browse the repository at this point in the history
Currently the make step of the ofsoftswitch13 master fails. Until
CPqD/ofsoftswitch13#313 is merged, this will fix
the compilation.
  • Loading branch information
cheriimoya committed Feb 2, 2022
1 parent 8a50d38 commit 3cd4e19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ OVS_BUILDSUFFIX=-ignore # was -2
OVS_PACKAGE_NAME=ovs-$OVS_RELEASE-core-$DIST_LC-$RELEASE-$ARCH$OVS_BUILDSUFFIX.tar
OVS_TAG=v$OVS_RELEASE

OF13_SWITCH_REV=${OF13_SWITCH_REV:-""}
OF13_SWITCH_REV=${OF13_SWITCH_REV:-"aaebdbce3dae0f3d9af62f059e3ec5a2813469c4"}


function kernel {
Expand Down Expand Up @@ -281,6 +281,7 @@ function of13 {
# Resume the install:
cd $BUILD_DIR/ofsoftswitch13
./boot.sh
sed -i 's/^AM_CFLAGS = -Wstrict-prototypes -Werror$/AM_CFLAGS = -Wstrict-prototypes -Werror -Wno-error=stringop-truncation -Wno-error=format-truncation=/g' Makefile.am
./configure
make
sudo make install
Expand Down

0 comments on commit 3cd4e19

Please sign in to comment.