forked from LibtraceTeam/libtrace
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebpkg-setup.sh
More file actions
executable file
·28 lines (20 loc) · 813 Bytes
/
debpkg-setup.sh
File metadata and controls
executable file
·28 lines (20 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
set -x -e -o pipefail
export DEBEMAIL='packaging@wand.net.nz'
export DEBFULLNAME='WAND Packaging'
export DEBIAN_FRONTEND=noninteractive
export SOURCENAME=`echo ${GITHUB_REF##*/} | cut -d '-' -f 1`
apt-get update
apt-get install -y equivs devscripts dpkg-dev quilt curl apt-transport-https \
apt-utils ssl-cert ca-certificates gnupg lsb-release debhelper git \
pkg-config
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libwandio/cfg/setup/bash.deb.sh' | bash
curl -1sLf 'https://dl.cloudsmith.io/public/wand/libwandder/cfg/setup/bash.deb.sh' | bash
DISTRO=$(lsb_release -sc)
case ${DISTRO} in
jessie | xenial | stretch )
curl -1sLf 'https://dl.cloudsmith.io/public/wand/dpdk-wand/cfg/setup/bash.deb.sh' | bash
;;
esac
apt-get update
apt-get upgrade -y