From cedace00ed848433a728cc449e1f58207fa9c5ba Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Mar 2014 18:45:56 +0100 Subject: [PATCH] openggsn: Update and install systemd service file This might require to rebuild the freshly built openggsn to fix the libgtp0 depedency. I had this issue on Dora without a PRServer. I am not sure it applies to edison or other configs. Bump the PR of OpenBSC to force a rebuild of the SGSN. Fixes: SYS#176 --- recipes-osmocom/openbsc/openbsc.inc | 2 +- recipes-osmocom/openggsn/openggsn_git.bb | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/recipes-osmocom/openbsc/openbsc.inc b/recipes-osmocom/openbsc/openbsc.inc index 5d5e89a4f8..06c0d97bff 100644 --- a/recipes-osmocom/openbsc/openbsc.inc +++ b/recipes-osmocom/openbsc/openbsc.inc @@ -11,7 +11,7 @@ SRC_URI = "file://osmo-nitb.init \ file://osmo-bsc.init \ file://osmo-sgsn.init" -INC_PR = "r16.${META_TELEPHONY_OSMO_INC}" +INC_PR = "r17.${META_TELEPHONY_OSMO_INC}" EXTRA_OECONF += " --enable-nat --enable-osmo-bsc --enable-smpp" diff --git a/recipes-osmocom/openggsn/openggsn_git.bb b/recipes-osmocom/openggsn/openggsn_git.bb index ebcfee6f3c..4da39ef8bb 100644 --- a/recipes-osmocom/openggsn/openggsn_git.bb +++ b/recipes-osmocom/openggsn/openggsn_git.bb @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" PV = "0.91+gitr${SRCPV}" PR = "r12" -SRCREV = "95848bafcef145d776d70a73f7bdc3fe37e85724" -SRC_URI = "git://ggsn.git.sourceforge.net/gitroot/ggsn/ggsn \ +SRCREV = "4afb44a25ebe9d33886531c0a1c549d70da198bd" +SRC_URI = "git://git.osmocom.org/openggsn \ file://openggsn.init \ file://libgtp-queue_depth_32.patch \ " @@ -18,7 +18,10 @@ inherit autotools update-rc.d do_install_append() { install -d ${D}${sysconfdir}/init.d + install -d ${D}${systemd_unitdir}/system + install -m 0776 ${WORKDIR}/openggsn.init ${D}${sysconfdir}/init.d/openggsn + install -m 0644 ${S}/contrib/openggsn.service ${D}${systemd_unitdir}/system/ } INITSCRIPT_PACKAGES = "openggsn" @@ -32,3 +35,4 @@ FILES_libgtp-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la" FILES_libgtp-staticdev = "${libdir}/*.a" FILES_openggsn-sgsnemu = "${bindir}/sgsnemu" +FILES_${PN} += "${systemd_unitdir}/system/*"