Use firezone etc and var dirs

This commit is contained in:
Jamil Bou Kheir
2021-08-25 17:11:52 +00:00
parent 502bdd8c55
commit 68fb1e9cae

View File

@@ -30,7 +30,12 @@ license "GPL-2.0"
build do
env = with_standard_compiler_flags(with_embedded_path).merge(
"PREFIX" => "#{install_dir}/embedded"
"PREFIX" => "#{install_dir}/embedded",
"WITH_BASHCOMPLETION" => "no",
"WITH_SYSTEMDUNITS" => "no",
"WITH_WGQUICK" => "no",
"SYSCONFDIR" => "/etc/firezone",
"RUNSTATEDIR" => "/var/opt/firezone/run"
)
make "-j #{workers}", env: env