-
Notifications
You must be signed in to change notification settings - Fork 2
/
deepsea-install.sh
22 lines (20 loc) · 1.12 KB
/
deepsea-install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash -x
#
# install DeepSea on local master (will be run as root)
#
#---------------------------------------------------------
#--- can be dropped once python-click reaches SES5 channel
#---------------------------------------------------------
sudo zypper --non-interactive --no-gpg-checks addrepo http://download.opensuse.org/repositories/devel:/languages:/python/SLE_12_SP3/devel:languages:python.repo
sudo zypper --non-interactive --no-gpg-checks refresh
sudo zypper --non-interactive --no-gpg-checks install --no-recommends python-click
sudo zypper --non-interactive --no-gpg-checks removerepo devel_languages_python
#---------------------------------------------------------
#--- can be dropped once python-click reaches SES5 channel
#---------------------------------------------------------
sudo zypper --non-interactive --no-gpg-checks install --no-recommends make rpm
test -d DeepSea || git clone --depth 1 --branch susecon2017 https://github.com/smithfarm/DeepSea.git
cd DeepSea
ls -l
sudo make install
sudo zypper --non-interactive install --no-recommends $(rpmspec --requires -q -v deepsea.spec | grep manual | awk '{print $2}')