]>
Commit | Line | Data |
---|---|---|
1 | # SPDX-License-Identifier: LGPL-2.1-or-later | |
2 | ||
3 | if conf.get('ENABLE_NETWORKD') == 1 | |
4 | install_data( | |
5 | '80-6rd-tunnel.network', | |
6 | '80-6rd-tunnel.link', | |
7 | '80-container-host0.network', | |
8 | '80-container-host0-tun.network', | |
9 | '80-container-vb.network', | |
10 | '80-container-vb.link', | |
11 | '80-container-ve.network', | |
12 | '80-container-ve.link', | |
13 | '80-container-vz.network', | |
14 | '80-container-vz.link', | |
15 | '80-namespace-ns.network', | |
16 | '80-namespace-ns.link', | |
17 | '80-namespace-ns-tun.network', | |
18 | '80-namespace-ns-tun.link', | |
19 | '80-vm-vt.network', | |
20 | '80-vm-vt.link', | |
21 | '80-wifi-adhoc.network', | |
22 | install_dir : networkdir) | |
23 | ||
24 | example_network_files = files( | |
25 | '80-auto-link-local.network.example', | |
26 | '89-ethernet.network.example', | |
27 | '80-wifi-ap.network.example', | |
28 | '80-wifi-station.network.example', | |
29 | ) | |
30 | ||
31 | install_data( | |
32 | example_network_files, | |
33 | install_dir : networkdir) | |
34 | ||
35 | if get_option('default-network') | |
36 | foreach f : example_network_files | |
37 | install_data( | |
38 | f, | |
39 | rename : fs.replace_suffix(fs.name(f), ''), | |
40 | install_dir : networkdir) | |
41 | endforeach | |
42 | endif | |
43 | endif | |
44 | ||
45 | install_data('99-default.link', | |
46 | install_dir : networkdir) | |
47 | ||
48 | if install_sysconfdir | |
49 | install_emptydir(sysconfdir / 'systemd/network') | |
50 | endif |