diff options
author | 2016-09-28 19:00:45 +0530 | |
---|---|---|
committer | 2016-09-28 19:00:45 +0530 | |
commit | 91e941a768d5dd45b0fdb9ed5d2fb2ee566e542c (patch) | |
tree | 1750a211a61df3573fd121bd39ea3fd671693a50 /ci/build_rpm/qemu_rpm_build.sh | |
parent | 095b312e0f23dba5801e6561c107aaa0c2d5b683 (diff) |
This patch contains updated scripts to install rpm-build package
only once to reduce qemu build time.
Change-Id: Ifdd5df86762f6ed6b327be7f186864feaf2f7923
Co-Authored-By: B Navya <b.navya4@tcs.com>
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'ci/build_rpm/qemu_rpm_build.sh')
-rwxr-xr-x | ci/build_rpm/qemu_rpm_build.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ci/build_rpm/qemu_rpm_build.sh b/ci/build_rpm/qemu_rpm_build.sh index 1e87fbdd6..302d00354 100755 --- a/ci/build_rpm/qemu_rpm_build.sh +++ b/ci/build_rpm/qemu_rpm_build.sh @@ -54,9 +54,7 @@ qemu_rpm_build() { } if [ ! -d ${rpmbuild_dir} ] ; then - yum install rpm-build -y - mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} - mv rpmbuild $workspace + mkdir -p ${rpmbuild_dir}/{BUILD,RPMS,SOURCES,SPECS,SRPMS} fi qemu_rpm_build |