summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorRajithaY <rajithax.yerrumsetty@intel.com>2017-04-25 03:31:15 -0700
committerRajitha Yerrumchetty <rajithax.yerrumsetty@intel.com>2017-05-22 06:48:08 +0000
commitbb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch)
treeca11e03542edf2d8f631efeca5e1626d211107e3 /ci
parenta14b48d18a9ed03ec191cf16b162206998a895ce (diff)
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to kvmfornfv repo and make use of the updated latest qemu for the execution of all testcase Change-Id: I1280af507a857675c7f81d30c95255635667bdd7 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/build_interface.sh13
1 files changed, 11 insertions, 2 deletions
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