diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-11-10 12:08:36 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-12-11 18:22:00 +0100 |
commit | cb1bb2b0628ace82944f47e7e87563b63449a6ce (patch) | |
tree | 0a81513077906a2e46c5711307bd2c7ba2dd0421 | |
parent | b4531911489c0a49e8e04b9107dc639d2b753288 (diff) |
osmo-mgw: Split packages and install osmo-mgw systemd service
Change-Id: I1b902842cf8766af1e58de76e46786213d222389
-rw-r--r-- | recipes-osmocom/osmo-mgw/osmo-mgw.inc | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/recipes-osmocom/osmo-mgw/osmo-mgw.inc b/recipes-osmocom/osmo-mgw/osmo-mgw.inc index 1b3362f..3294464 100644 --- a/recipes-osmocom/osmo-mgw/osmo-mgw.inc +++ b/recipes-osmocom/osmo-mgw/osmo-mgw.inc @@ -17,7 +17,41 @@ do_install_append() { 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" -CONFFILES_osmo-mgw = "${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg" +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 \ + " +CONFFILES_osmo-bsc-mgcp = "${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg" + +CONFFILES_osmo-mgw = "${sysconfdir}/osmocom/osmo-mgw.cfg" |