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
This commit is contained in:
parent
d496a8d59b
commit
cedace00ed
|
@ -11,7 +11,7 @@ SRC_URI = "file://osmo-nitb.init \
|
||||||
file://osmo-bsc.init \
|
file://osmo-bsc.init \
|
||||||
file://osmo-sgsn.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"
|
EXTRA_OECONF += " --enable-nat --enable-osmo-bsc --enable-smpp"
|
||||||
|
|
|
@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
|
||||||
PV = "0.91+gitr${SRCPV}"
|
PV = "0.91+gitr${SRCPV}"
|
||||||
PR = "r12"
|
PR = "r12"
|
||||||
|
|
||||||
SRCREV = "95848bafcef145d776d70a73f7bdc3fe37e85724"
|
SRCREV = "4afb44a25ebe9d33886531c0a1c549d70da198bd"
|
||||||
SRC_URI = "git://ggsn.git.sourceforge.net/gitroot/ggsn/ggsn \
|
SRC_URI = "git://git.osmocom.org/openggsn \
|
||||||
file://openggsn.init \
|
file://openggsn.init \
|
||||||
file://libgtp-queue_depth_32.patch \
|
file://libgtp-queue_depth_32.patch \
|
||||||
"
|
"
|
||||||
|
@ -18,7 +18,10 @@ inherit autotools update-rc.d
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/init.d
|
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 0776 ${WORKDIR}/openggsn.init ${D}${sysconfdir}/init.d/openggsn
|
||||||
|
install -m 0644 ${S}/contrib/openggsn.service ${D}${systemd_unitdir}/system/
|
||||||
}
|
}
|
||||||
|
|
||||||
INITSCRIPT_PACKAGES = "openggsn"
|
INITSCRIPT_PACKAGES = "openggsn"
|
||||||
|
@ -32,3 +35,4 @@ FILES_libgtp-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la"
|
||||||
FILES_libgtp-staticdev = "${libdir}/*.a"
|
FILES_libgtp-staticdev = "${libdir}/*.a"
|
||||||
|
|
||||||
FILES_openggsn-sgsnemu = "${bindir}/sgsnemu"
|
FILES_openggsn-sgsnemu = "${bindir}/sgsnemu"
|
||||||
|
FILES_${PN} += "${systemd_unitdir}/system/*"
|
||||||
|
|
Loading…
Reference in New Issue