diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-09-22 11:48:38 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-09-22 11:48:38 -0700 |
commit | aeb2791f4d3a5e23090e56c330436205a61629d7 (patch) | |
tree | 7b4918aba2421f2dc8cdac72f134e74acec92bee /tools/pharos-validator/rpm | |
parent | 783a439ec2bd23ad969ffe7a3c6b7277f7a565c7 (diff) |
Remove 'tools' Directory
All tools (and history) have been moved to the pharos-tools repository:
https://git.opnfv.org/pharos-tools/
Change-Id: I84fa9b6ebd9b27f42d41f2722eb1221ec39a8c94
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'tools/pharos-validator/rpm')
-rwxr-xr-x | tools/pharos-validator/rpm/buildasroot.sh | 32 | ||||
-rwxr-xr-x | tools/pharos-validator/rpm/installpython3.sh | 5 |
2 files changed, 0 insertions, 37 deletions
diff --git a/tools/pharos-validator/rpm/buildasroot.sh b/tools/pharos-validator/rpm/buildasroot.sh deleted file mode 100755 index 94076c26..00000000 --- a/tools/pharos-validator/rpm/buildasroot.sh +++ /dev/null @@ -1,32 +0,0 @@ -#! /usr/bin/env bash -# Builds the pharosvalidator package as root (it must be built as root) -# then copies the finished package to /tmp. The script can either be called -# as root or with sudo - -tarball=pharos-validator-1.tar.gz -specfile=pharosvalidator.spec -arch=x86_64 - -if [ "$(id -u)" != 0 ]; then - echo "This script must be run as root (or with sudo)" - exit 1 -fi; - -rpmdev-setuptree - -cp "$specfile" ~/rpmbuild/SPECS/ - -# Prepare the "source package" for the rpm build process using .spec file -pushd ../../ -tar -cvf "$tarball" pharos-validator -cp "$tarball" ~/rpmbuild/SOURCES -popd - - -cd ~/rpmbuild/ - -rpmlint SPECS/"$specfile" -printf "\n\nRPM BUILD PROCESS\n\n" -rpmbuild -ba SPECS/"$specfile" - -cp -rfv RPMS/"$arch"/* /tmp/ diff --git a/tools/pharos-validator/rpm/installpython3.sh b/tools/pharos-validator/rpm/installpython3.sh deleted file mode 100755 index 8f2d8334..00000000 --- a/tools/pharos-validator/rpm/installpython3.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python3 -# This script is to be handed out (possibly find a different python3 source) so that server provisioners may install python3 in centOS7 - -sudo yum install -y https://centos7.iuscommunity.org/ius-release.rpm -sudo yum install -y python35u python35u-pip |