Comments and Updating MetaCommands
This commit is contained in:
parent
3cdd48c671
commit
1bef166b36
|
@ -1,13 +1,14 @@
|
|||
# Mount Virtual Disk for More Space
|
||||
@!setup-secondary
|
||||
cd /mount
|
||||
mkdir gopath
|
||||
mkdir /drone
|
||||
# Downloading Go
|
||||
wget https://go.dev/dl/go1.19.1.linux-amd64.tar.gz
|
||||
@!check go1.19.1.linux-amd64.tar.gz a69153393a2eaf1c2b77f5a4bafe6a2fb36368c6856d79bd697472af71d925fc62c58e6b8fe75adf143b0462da2ed9e68d0fcd0328cde091be70d745b92814aa
|
||||
tar -xzf go1.19.1.linux-amd64.tar.gz
|
||||
apt update
|
||||
apt install -y --no-install-recommends netcat git wget libc6-dev make gcc
|
||||
@!extract go1.19.1.linux-amd64.tar.gz
|
||||
ln -s /mount/go /usr/local/go
|
||||
ln -s /mount/gopath /go
|
||||
ln -s /mount/libcwtch-go /drone/src/
|
||||
|
@ -16,6 +17,7 @@ export GOPATH="/go"
|
|||
export GOCACHE="/tmp/gocache"
|
||||
export PATH="/usr/local/go/bin/:$PATH"
|
||||
go version
|
||||
# Building libCwtch.so
|
||||
git clone https://git.openprivacy.ca/cwtch.im/libcwtch-go
|
||||
git fetch --tags
|
||||
git checkout tags/v1.10.2 -b v1.10.2
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
# Mount Virtual Disk for More Space
|
||||
@!preserve
|
||||
mkfs -t ext4 /dev/vdb
|
||||
mkdir /mount
|
||||
mount -t auto /dev/vdb /mount
|
||||
@!setup-secondary
|
||||
cd /mount
|
||||
mkdir gopath
|
||||
mkdir /drone
|
||||
|
|
Loading…
Reference in New Issue