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

set -eux

hash gbp

# 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