summaryrefslogtreecommitdiffstats
path: root/fuel-plugin-vsperf/pre_build_hook
diff options
context:
space:
mode:
Diffstat (limited to 'fuel-plugin-vsperf/pre_build_hook')
-rwxr-xr-xfuel-plugin-vsperf/pre_build_hook33
1 files changed, 0 insertions, 33 deletions
diff --git a/fuel-plugin-vsperf/pre_build_hook b/fuel-plugin-vsperf/pre_build_hook
deleted file mode 100755
index ea7bc206..00000000
--- a/fuel-plugin-vsperf/pre_build_hook
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2016-2017 Intel corporation.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-
-# Add here any the actions which are required before plugin build
-# like packages building, packages downloading from mirrors and so on.
-# The script should return 0 if there were no errors.
-#!/bin/bash
-
-set -eux
-
-BUILD_FOR=${BUILD_FOR:-ubuntu}
-DIR="$(dirname `readlink -f $0`)"
-
-function build_pkg {
- case $1 in
- ubuntu)
- cd ${DIR}/..
- tar cfvz ${DIR}/repositories/ubuntu/vswitchperf.tgz . --exclude=vswitchperf.tgz
- ;;
- *) echo "Not supported system"; exit 1;;
- esac
-}
-
-for system in $BUILD_FOR
-do
- build_pkg $system
-done