From 843dfef73c86a8ad71afe36e2db9e711dddc199a Mon Sep 17 00:00:00 2001 From: shravani Date: Tue, 20 Dec 2016 15:09:34 +0530 Subject: Combine the common code for kernel building on deb/rpm This patch removes the duplication of code in rpm/debian build scripts. Change-Id: I88edc93df488bd01a43cd98e4f69f35e09f8f61c Signed-off-by: Shravani --- ci/build_rpm/build_rpms.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 ci/build_rpm/build_rpms.sh (limited to 'ci/build_rpm/build_rpms.sh') diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh deleted file mode 100755 index 40cae6ccf..000000000 --- a/ci/build_rpm/build_rpms.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -set -eux -BUILD_FOR=${BUILD_FOR:-centos} - -function build_rpm_pkg { - case $1 in - centos) - sudo docker build -t kvm_rpm . - sudo docker run -v $WORKSPACE:/opt/kvmfornfv -t kvm_rpm \ - /opt/kvmfornfv/ci/build_rpm/build_rpms_docker.sh - ;; - *) echo "Not supported system"; exit 1;; - esac -} - -for system in $BUILD_FOR -do - build_rpm_pkg $system -done -- cgit 1.2.3-korg