build: copy wireguard secrets
This commit is contained in:
parent
3bdf09e661
commit
c1ccf5ae7d
1 changed files with 18 additions and 0 deletions
18
build.sh
Executable file
18
build.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue