aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
blob: e8a441dbd098496d9dd26e1107738604b179e7d0 (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 --git-export=WC