Replace numbered build scripts with updated ones

This commit is contained in:
2014-12-26 15:04:41 +01:00
parent 86776154c8
commit 4c35d6757c
21 changed files with 34 additions and 29 deletions

18
build/scripts/hamachi.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
source /build/config
set -x
## Hamachi dependency
$minimal_apt_get_install lsb-core net-tools socat strace
## Hamachi
cd /opt
export HAMACHI_DATA=/host/var/lib/logmein-hamachi
export HAMACHI_VERSION=2.1.0.119
wget -O hamachi.deb https://secure.logmein.com/labs/logmein-hamachi_$HAMACHI_VERSION-1_amd64.deb
mkdir -p /etc/service/hamachi
cp /build/runit/hamachi /etc/service/hamachi/run
## Environment variables
echo -n $HAMACHI_DATA > /etc/container_environment/HAMACHI_DATA