diff options
-rwxr-xr-x | build.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..c97dc90 --- /dev/null +++ b/build.sh @@ -0,0 +1,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 |