diff --git a/recipes-sysmobts/osmo-bts/files/osmo-bts-lc15.service b/recipes-sysmobts/osmo-bts/files/osmo-bts-lc15.service deleted file mode 100644 index 677006a..0000000 --- a/recipes-sysmobts/osmo-bts/files/osmo-bts-lc15.service +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description=osmo-bts for LC15 / sysmoBTS 2100 - -[Service] -Type=simple -ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness' -ExecStart=/usr/bin/osmo-bts-lc15 -s -c /etc/osmocom/osmo-bts.cfg -M -ExecStopPost=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness' -#FIXME: dra7-dsp1-fw.xe66 dra7-dsp2-fw.xe66 litecell15.bit-100t litecell15.bit-75t -#ExecStopPost=/bin/sh -c 'cat /lib/firmware/sysmobts-v?.bit > /dev/fpgadl_par0 ; sleep 3s; cat /lib/firmware/sysmobts-v?.out > /dev/dspdl_dm644x_0; sleep 1s' -Restart=always -RestartSec=2 -RestartPreventExitStatus=1 - -# The msg queues must be read fast enough -CPUSchedulingPolicy=rr -CPUSchedulingPriority=1 - -[Install] -WantedBy=multi-user.target diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index cbeb3a9..e18f6c2 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -5,7 +5,6 @@ LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/0.3.5-stable;name=osmobts;destsuffix=git \ git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc \ file://gcc6-linking-fix.patch" -SRC_URI_append_sysmobts2100 = " file://osmo-bts-lc15.service" SRCREV_osmobts = "a4bd813081e788012c72f34d31150cdf02db307f" SRCREV_openbsc = "57ee78078905c7499bd4e6857f8981d22badfcac" PV = "0.4.3+git${SRCPV}" @@ -75,7 +74,7 @@ do_install_append_sysmobts2100() { # Install systemd and enable on sysinit install -d ${D}${systemd_unitdir}/system/multi-user.target.wants/ install -m 0660 ${S}/doc/examples/litecell15/lc15bts-mgr.cfg ${D}${sysconfdir}/osmocom/ - install -m 0644 ${WORKDIR}/osmo-bts-lc15.service ${D}${systemd_unitdir}/system/ + install -m 0644 ${S}/contrib/osmo-bts-lc15.service ${D}${systemd_unitdir}/system/ ln -sf ../osmo-bts-lc15.service ${D}${systemd_unitdir}/system/multi-user.target.wants/ }