osmo-msc: Avoid installed duplicated binaries in osmo-bsc
Those two binaries are currently being installed by osmo-bsc too:
- /usr/bin/osmo-meas-udp2db
- /usr/bin/meas_json
Change-Id: Ic582450f1881373785f12714ffa3bd150d37417e
diff --git a/recipes-osmocom/osmo-msc/osmo-msc.inc b/recipes-osmocom/osmo-msc/osmo-msc.inc
index b4decf9..829f947 100644
--- a/recipes-osmocom/osmo-msc/osmo-msc.inc
+++ b/recipes-osmocom/osmo-msc/osmo-msc.inc
@@ -5,7 +5,7 @@
DEPENDS = "libdbi libasn1c osmo-iuh libosmocore libosmo-abis libosmo-sccp libosmo-netif libsmpp34 osmo-mgw"
-INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
inherit autotools pkgconfig systemd
@@ -19,6 +19,10 @@
install -m 0644 ${S}/doc/examples/osmo-msc/osmo-msc.cfg ${D}${sysconfdir}/osmocom/
install -m 0644 ${S}/contrib/systemd/osmo-msc.service ${D}${systemd_system_unitdir}/
+
+ # osmo-bsc already provides these, see issue Osmocom #2522:
+ rm -f ${D}${bindir}/.debug/*meas*
+ rm -f ${D}${bindir}/*meas*
}
SYSTEMD_SERVICE_${PN} = "${PN}.service"