From 91e941a768d5dd45b0fdb9ed5d2fb2ee566e542c Mon Sep 17 00:00:00 2001 From: kalyanreddy Date: Wed, 28 Sep 2016 19:00:45 +0530 Subject: 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 Signed-off-by: Gundarapu Kalyan Reddy --- ci/build_rpm/qemu_rpm_build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ci') 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 -- cgit 1.2.3-korg