aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
blob: ed5fd4205783ad7d2f0e40fb8f8565351839ee5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# Modifies the file hierarchy prior to build the Debian package.

set -eux

hash gbp

./clean.sh

# Builds wireguard configuration files.
#
# This mainly copies secret files and `wg0.conf` definition.
build_wireguard() {
	cp -r ./secrets/files/etc/wireguard ./files/etc
}

build_wireguard

gbp buildpackage