diff options
author | Jiang, Yunhong <yunhong.jiang@intel.com> | 2016-08-23 22:17:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-23 22:17:42 +0000 |
commit | 76c2ed6659d79ee83c8fc4f00e955268779db826 (patch) | |
tree | 5bbdc58f68f4cd56816dfba3dc8e92a8f9f2a135 /ci/build_qemu_rpm_deb/qemu_deb_build.sh | |
parent | 2b76a9cbd6c127109286c8705f3347415eb26753 (diff) | |
parent | 7552c26370d38ef5dd182682a0d3bf096661fe0e (diff) |
Merge "OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, Qemu"
Diffstat (limited to 'ci/build_qemu_rpm_deb/qemu_deb_build.sh')
-rwxr-xr-x | ci/build_qemu_rpm_deb/qemu_deb_build.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ci/build_qemu_rpm_deb/qemu_deb_build.sh b/ci/build_qemu_rpm_deb/qemu_deb_build.sh deleted file mode 100755 index 7a830183d..000000000 --- a/ci/build_qemu_rpm_deb/qemu_deb_build.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -#Build process for generating qemu debain file. - -source ci/build_qemu_rpm_deb/qemu_build.sh -qemu_deb_build() { - sudo mkdir -p $debbuild_dir/qemu-$VERSION - sudo cp -r $qemu_src_dir $debbuild_dir/qemu-$VERSION - sudo mkdir -p $debbuild_dir/qemu-$VERSION/DEBIAN - sudo touch control - -#creating control file for debian build. - (cd ${scripts_dir}; sudo ./mkcontrol.sh $VERSION > control) - sudo mv $scripts_dir/control $debbuild_dir/qemu-$VERSION/DEBIAN/control - -#building the qemu debian with control file developed. - sudo dpkg-deb --build $debbuild_dir/qemu-$VERSION - if [ ${?} -ne 0 ] ; then - echo "${0}: qemu build failed" - exit 1 - fi -} - -if [ ! -d ${debbuild_dir} ] ; then - echo "creating debbuild directory" - sudo mkdir -p $debbuild_dir -fi - -qemu_deb_build -latest_qemu_build=`sudo ls -rt $debbuild_dir | tail -1` -sudo cp $debbuild_dir/$latest_qemu_build build_output |