X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fbuild_interface.sh;fp=ci%2Fbuild_interface.sh;h=cd5bc8cfc57d7c0ac4d2fa8ce1f39edcebce8d8d;hb=0f6296e038b5c299654d596026e7bee5aa723e56;hp=6f5fadc28c05259cdf21f53f728a0788925a9cd0;hpb=c4d68bc45aa6aa8b7fe39bce206cb17c2cb2d365;p=kvmfornfv.git diff --git a/ci/build_interface.sh b/ci/build_interface.sh index 6f5fadc28..cd5bc8cfc 100755 --- a/ci/build_interface.sh +++ b/ci/build_interface.sh @@ -9,7 +9,16 @@ output_dir=$build_dir/build_output cp -r $build_dir $tmp_build_dir # Build qemu rpm packages -cd $tmp_build_dir/qemu +cd $tmp_build_dir +#Initialize the submodule +git submodule init +#Update the submodules recursively to the latest commit +git submodule update --recursive +cd qemu +echo "Building Qemu latest release on the master branch" +git reset --hard v2.9.0 +git submodule init +git submodule update --recursive make clean ./configure @@ -27,4 +36,4 @@ elif [ $type == "ubuntu" ];then # Move Kernel and Qemu Debian builds from tmp_output_dir to output_dir mv $tmp_output_dir/qemu-* $output_dir mv $tmp_output_dir/linux-* $output_dir -fi +fi \ No newline at end of file