[PATCH] meta-telephony[laforge/nightly]: osmo-mgw: Split packages and install osmo-mgw systemd service

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Nov 10 12:46:25 UTC 2017


Review at  https://gerrit.osmocom.org/4773

osmo-mgw: Split packages and install osmo-mgw systemd service

Change-Id: I1b902842cf8766af1e58de76e46786213d222389
---
M recipes-osmocom/osmo-mgw/osmo-mgw.inc
1 file changed, 34 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/73/4773/1

diff --git a/recipes-osmocom/osmo-mgw/osmo-mgw.inc b/recipes-osmocom/osmo-mgw/osmo-mgw.inc
index 45ee338..2d6db64 100644
--- a/recipes-osmocom/osmo-mgw/osmo-mgw.inc
+++ b/recipes-osmocom/osmo-mgw/osmo-mgw.inc
@@ -5,7 +5,7 @@
 
 DEPENDS = "libosmocore libosmo-netif bcg729 libgsm"
 
-INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
 
 inherit autotools pkgconfig systemd
 
@@ -17,6 +17,38 @@
 
 	install -m 0644 ${S}/doc/examples/osmo-bsc_mgcp/mgcp.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg
 	install -m 0644 ${S}/contrib/systemd/osmo-bsc-mgcp.service ${D}${systemd_system_unitdir}/
+
+	install -m 0644 ${S}/doc/examples/osmo-mgw/osmo-mgw.cfg ${D}${sysconfdir}/osmocom/osmo-mgw.cfg
+	install -m 0644 ${S}/contrib/systemd/osmo-mgw.service ${D}${systemd_system_unitdir}/
 }
 
-SYSTEMD_SERVICE_osmo-mgw = "osmo-bsc-mgcp.service"
+PACKAGES =+ " libosmo-legacy-mgcp libosmo-legacy-mgcp-dev libosmo-mgcp libosmo-mgcp-dev libosmo-mgcp-client libosmo-mgcp-client-dev osmo-bsc-mgcp"
+SYSTEMD_SERVICE_osmo-mgw = "osmo-mgw.service"
+SYSTEMD_SERVICE_osmo-bsc-mgcp = "osmo-bsc-mgcp.service"
+
+FILES_libosmo-legacy-mgcp = "${libdir}/libosmo-legacy-mgcp${SOLIBS}"
+FILES_libosmo-legacy-mgcp-dev = " \
+				${includedir}/osmocom/legacy_mgcp \
+				${libdir}/pkgconfig/libosmo-legacy-mgcp.pc \
+				${libdir}/libosmo-legacy-mgcp${SOLIBSDEV} \
+				"
+
+FILES_libosmo-mgcp = "${libdir}/libosmo-mgcp${SOLIBS}"
+FILES_libosmo-mgcp-dev = " \
+			 ${includedir}/osmocom/mgcp \
+			 ${libdir}/pkgconfig/libosmo-mgcp.pc \
+			 ${libdir}/libosmo-mgcp${SOLIBSDEV} \
+			 "
+
+FILES_libosmo-mgcp-client = "${libdir}/libosmo-mgcp-client${SOLIBS}"
+FILES_libosmo-mgcp-client-dev = " \
+				${includedir}/osmocom/mgcp_client \
+				${libdir}/pkgconfig/libosmo-mgcp-client.pc \
+				${libdir}/libosmo-mgcp-client${SOLIBSDEV} \
+				"
+
+FILES_osmo-bsc-mgcp = " \
+			${bindir}/osmo-bsc_mgcp \
+			${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg \
+			${systemd_unitdir}/system/osmo-bsc-mgcp.service \
+			"

-- 
To view, visit https://gerrit.osmocom.org/4773
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1b902842cf8766af1e58de76e46786213d222389
Gerrit-PatchSet: 1
Gerrit-Project: meta-telephony
Gerrit-Branch: laforge/nightly
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list