diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-12-07 15:26:15 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-12-08 13:41:56 +0100 |
commit | d96413582f96bbd55eeb77be4111ce40154f42b3 (patch) | |
tree | 198c134325e6aba4bddc265eab0be36424845e43 | |
parent | 179d6bccdb556d4d7ca9ab80f2ab5431c9ff4b5a (diff) |
repo-install-test: update services list
Add services from new projects and enable previously disabled services,
now that this test runs in qemu and services have more permissions like
setting realtime priorities.
Related: OS#5365
Change-Id: Iec7db433cac4c77226e0f1ae2ba502de0d1a8a2b
-rwxr-xr-x | scripts/repo-install-test/run-inside.sh | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/scripts/repo-install-test/run-inside.sh b/scripts/repo-install-test/run-inside.sh index da49f7d..d3610cb 100755 --- a/scripts/repo-install-test/run-inside.sh +++ b/scripts/repo-install-test/run-inside.sh @@ -11,28 +11,36 @@ # Systemd services that must start up successfully after installing all packages (OS#3369) # Disabled services: # * osmo-ctrl2cgi (missing config: /etc/osmocom/ctrl2cgi.ini, OS#4108) +# * osmo-e1d (missing config, OS#5817) +# * osmo-ggsn (conflicting config, OS#5817) +# * osmo-remsim-client (exits immediately without USB device) # * osmo-trap2cgi (missing config: /etc/osmocom/%N.ini, OS#4108) -# * osmo-ggsn (no tun device in docker) +# * osmo-trx-* (exits immediately without trx device) +# * osmo-upf (not available for debian 10, gets added in services_check()) SERVICES=" osmo-bsc osmo-bts-virtual + osmo-cbc osmo-gbproxy osmo-gtphub osmo-hlr osmo-hnbgw + osmo-hnodeb osmo-mgw osmo-msc osmo-pcap-client + osmo-pcap-server osmo-pcu + osmo-remsim-bankd + osmo-remsim-server osmo-sgsn osmo-sip-connector + osmo-smlc osmo-stp " # Services working in nightly, but not yet in latest -# * osmo-pcap-server 0.2.0: VTY port in default config conflicts with osmo-bts (OS#5203) SERVICES_NIGHTLY=" - osmo-pcap-server - osmo-hnodeb + osmo-bsc-nat " distro_obsdir() { @@ -400,6 +408,18 @@ services_check() { services_feed="$services_feed $SERVICES_NIGHTLY" fi + # We don't build osmo-upf for debian 10 + if [ "$DISTRO" != "debian10" ]; then + # osmo-upf <= 0.1.1 needs GTP kernel module + if [ "$FEED" = "nightly" ]; then + services_feed="$services_feed osmo-upf" + fi + fi + + # OS#5817: osmo-ggsn conflicts with osmo-gtphub; explicitly stop it + # here until it is fixed, as it gets auto-started after installation + systemctl stop osmo-ggsn + systemctl start $services_feed sleep 2 |