File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 11daemon/default-config.json etc/opensnitchd/
22daemon/system-fw.json etc/opensnitchd/
3+ daemon//network_aliases.json etc/opensnitchd/
34ebpf_prog/opensnitch.o usr/lib/opensnitchd/ebpf/
45ebpf_prog/opensnitch-dns.o usr/lib/opensnitchd/ebpf/
56ebpf_prog/opensnitch-procs.o usr/lib/opensnitchd/ebpf/
Original file line number Diff line number Diff line change @@ -59,6 +59,12 @@ if [ -f /etc/opensnitchd/system-fw.json ]; then
5959fi
6060install -m 644 $B daemon/system-fw.json %{buildroot }/etc/opensnitchd/system-fw.json
6161
62+ B= ""
63+ if [ -f /etc/opensnitchd/network_aliases.json ]; then
64+ B= "-b"
65+ fi
66+ install -m 644 $B daemon/network_aliases.json %{buildroot }/etc/opensnitchd/network_aliases.json
67+
6268install -m 644 ebpf_prog/opensnitch.o %{buildroot }/usr/lib/opensnitchd/ebpf/opensnitch.o
6369install -m 644 ebpf_prog/opensnitch-dns.o %{buildroot }/usr/lib/opensnitchd/ebpf/opensnitch-dns.o
6470install -m 644 ebpf_prog/opensnitch-procs.o %{buildroot }/usr/lib/opensnitchd/ebpf/opensnitch-procs.o
You can’t perform that action at this time.
0 commit comments