osmocom-3g: Update the service files to fix any startup issues
These services bind to IP addresses so networking needs to be up so add
it as dependency
diff --git a/recipes-osmocom/osmocom-3g/osmocom-3g.inc b/recipes-osmocom/osmocom-3g/osmocom-3g.inc
index 87c110b..956d05c 100644
--- a/recipes-osmocom/osmocom-3g/osmocom-3g.inc
+++ b/recipes-osmocom/osmocom-3g/osmocom-3g.inc
@@ -10,7 +10,7 @@
file://osmo-bsc_mgcp.init \
file://osmo-sgsn.init"
-INC_PR = "r1.${META_TELEPHONY_OSMO_INC}"
+INC_PR = "r2.${META_TELEPHONY_OSMO_INC}"
EXTRA_OECONF += " --enable-iu --enable-smpp --enable-mgcp-transcoding --with-g729"
@@ -37,9 +37,9 @@
# Install systemd files and enable on sysinit
install -d ${D}${systemd_unitdir}/system
- install -m 0644 ${S}/contrib/systemd/osmo-msc.service ${D}${systemd_unitdir}/system/
- install -m 0644 ${S}/contrib/systemd/osmo-sgsn.service ${D}${systemd_unitdir}/system/
- install -m 0644 ${S}/contrib/systemd/osmo-bsc-mgcp.service ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/osmo-msc.service ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/osmo-sgsn.service ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/osmo-bsc-mgcp.service ${D}${systemd_unitdir}/system/
install -d ${D}/var/lib/osmocom
}