diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-07 16:05:34 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-01-30 22:46:13 +0100 |
commit | 172a7b10b700923d2b001afdfe4ab66f0d17a053 (patch) | |
tree | 4990654ae68b4ee4b03c436dc56c5d549c488549 | |
parent | a3fdefb96f746f636b977dc2a4b5033c785494a1 (diff) |
openbsc: Package osmo-bsc-mgcp
Change-Id: I622e2752c878753d1b4b4ccc943fa430b055ffee
-rw-r--r-- | recipes-osmocom/openbsc/openbsc.inc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/recipes-osmocom/openbsc/openbsc.inc b/recipes-osmocom/openbsc/openbsc.inc index ca9a6c6..ec130db 100644 --- a/recipes-osmocom/openbsc/openbsc.inc +++ b/recipes-osmocom/openbsc/openbsc.inc @@ -10,7 +10,7 @@ SRC_URI = "file://osmo-nitb.init \ file://osmo-bsc-sccplite.init \ " -INC_PR = "r2.${META_TELEPHONY_OSMO_INC}" +INC_PR = "r3.${META_TELEPHONY_OSMO_INC}" EXTRA_OECONF += "--enable-nat --enable-osmo-bsc --enable-smpp --enable-mgcp-transcoding --with-g729" @@ -21,6 +21,7 @@ do_install_append() { install -m 0660 ${S}/doc/examples/osmo-nitb/nanobts/openbsc.cfg ${D}${sysconfdir}/osmocom/osmo-nitb.cfg install -m 0660 ${S}/doc/examples/osmo-bsc-sccplite/osmo-bsc-sccplite.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-sccplite.cfg install -m 0644 ${S}/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-nat.cfg + install -m 0644 ${S}/doc/examples/osmo-bsc_mgcp/mgcp.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg # Install sysv-init files install -d ${D}${sysconfdir}/init.d @@ -33,13 +34,14 @@ do_install_append() { install -m 0644 ${S}/contrib/systemd/osmo-nitb.service ${D}${systemd_system_unitdir}/ install -m 0644 ${S}/contrib/systemd/osmo-bsc-sccplite.service ${D}${systemd_system_unitdir}/ install -m 0644 ${S}/contrib/systemd/osmo-bsc-nat.service ${D}${systemd_system_unitdir}/ + install -m 0644 ${S}/contrib/systemd/osmo-bsc-mgcp.service ${D}${systemd_system_unitdir}/ install -d ${D}/var/lib/osmocom } -PACKAGES =+ "osmo-bsc-nat osmo-bsc-sccplite osmo-nitb" -SYSTEMD_PACKAGES = "osmo-bsc-nat osmo-bsc-sccplite osmo-nitb" +PACKAGES =+ "osmo-bsc-nat osmo-bsc-sccplite osmo-nitb osmo-bsc-mgcp" +SYSTEMD_PACKAGES = "osmo-bsc-nat osmo-bsc-sccplite osmo-nitb osmo-bsc-mgcp" INITSCRIPT_PACKAGES = "osmo-bsc-sccplite osmo-nitb" CONFFILES_osmo-bsc-sccplite = "${sysconfdir}/osmocom/osmo-bsc-sccplite.cfg" @@ -70,3 +72,11 @@ FILES_osmo-bsc-nat = " \ ${sysconfdir}/osmocom/osmo-bsc_nat.cfg \ ${systemd_system_unitdir}/osmo-bsc-nat.service \ " + +CONFFILES_osmo-bsc-mgcp = "${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg" +SYSTEMD_SERVICE_osmo-bsc-mgcp = "osmo-bsc-mgcp.service" +FILES_osmo-bsc-mgcp = " \ + ${bindir}/osmo-bsc_mgcp \ + ${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg \ + ${systemd_system_unitdir}/osmo-bsc-mgcp.service \ + " |