2019-04-27 14:54:30 +00:00
|
|
|
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
|
|
|
|
|
|
|
# This file is part of Open5GS.
|
|
|
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Affero General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2017-03-11 13:25:58 +00:00
|
|
|
|
2019-10-27 08:41:14 +00:00
|
|
|
open5gs_sysconfdir = join_paths(sysconfdir, 'open5gs')
|
|
|
|
meson.add_install_script(python3_exe, '-c',
|
|
|
|
mkdir_p.format(open5gs_sysconfdir))
|
2017-03-11 13:25:58 +00:00
|
|
|
|
2019-10-27 08:41:14 +00:00
|
|
|
open5gs_conf = '''
|
|
|
|
mme.yaml
|
2020-08-13 00:31:22 +00:00
|
|
|
sgwc.yaml
|
|
|
|
sgwu.yaml
|
2020-08-22 23:33:48 +00:00
|
|
|
smf.yaml
|
|
|
|
amf.yaml
|
|
|
|
upf.yaml
|
|
|
|
hss.yaml
|
2019-10-27 08:41:14 +00:00
|
|
|
pcrf.yaml
|
2020-05-18 21:00:37 +00:00
|
|
|
nrf.yaml
|
2020-06-04 18:12:05 +00:00
|
|
|
ausf.yaml
|
2020-08-22 23:33:48 +00:00
|
|
|
udm.yaml
|
|
|
|
udr.yaml
|
2020-12-11 19:03:20 +00:00
|
|
|
pcf.yaml
|
2021-03-08 12:25:09 +00:00
|
|
|
nssf.yaml
|
2021-05-29 06:56:12 +00:00
|
|
|
bsf.yaml
|
2019-10-27 08:41:14 +00:00
|
|
|
'''.split()
|
2017-03-11 13:25:58 +00:00
|
|
|
|
2019-10-27 08:41:14 +00:00
|
|
|
foreach file : open5gs_conf
|
|
|
|
gen = configure_file(
|
|
|
|
input : file + '.in',
|
|
|
|
output : file,
|
|
|
|
configuration : conf_data)
|
|
|
|
meson.add_install_script(python3_exe, '-c',
|
|
|
|
install_conf.format(gen, open5gs_sysconfdir))
|
|
|
|
endforeach
|