<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12740">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">openbsc: Use systemd.bbclass correctly<br><br>* Describe packages containing systemd services in SYSTEMD_PACKAGES.<br>* Enable services by default, since now osmo-bsc-sccplite doesn't collide<br>with osmo-bsc.git's osmo-bsc.<br>* Add SYSTEMD_SERVICE_* to specify service file for each package.<br><br>Change-Id: I922291bc8a1a8d52f41b3f4d5d80b80305b181cd<br>---<br>M recipes-osmocom/openbsc/openbsc.inc<br>1 file changed, 5 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/40/12740/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/recipes-osmocom/openbsc/openbsc.inc b/recipes-osmocom/openbsc/openbsc.inc</span><br><span>index f76afb7..ca9a6c6 100644</span><br><span>--- a/recipes-osmocom/openbsc/openbsc.inc</span><br><span>+++ b/recipes-osmocom/openbsc/openbsc.inc</span><br><span>@@ -39,13 +39,11 @@</span><br><span> }</span><br><span> </span><br><span> PACKAGES =+ "osmo-bsc-nat osmo-bsc-sccplite osmo-nitb"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(120, 100%, 40%);">+SYSTEMD_PACKAGES = "osmo-bsc-nat osmo-bsc-sccplite osmo-nitb"</span><br><span> INITSCRIPT_PACKAGES = "osmo-bsc-sccplite osmo-nitb"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-# Do not start any of the services by default</span><br><span style="color: hsl(0, 100%, 40%);">-SYSTEMD_AUTO_ENABLE = "disable"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> CONFFILES_osmo-bsc-sccplite = "${sysconfdir}/osmocom/osmo-bsc-sccplite.cfg"</span><br><span style="color: hsl(120, 100%, 40%);">+SYSTEMD_SERVICE_osmo-bsc-sccplite = "osmo-bsc-sccplite.service"</span><br><span> INITSCRIPT_NAME_osmo-bsc-sccplite = "osmo-bsc-sccplite"</span><br><span> INITSCRIPT_PARAMS_osmo-bsc-sccplite = "defaults 30 30"</span><br><span> FILES_osmo-bsc-sccplite = " ${bindir}/osmo-bsc-sccplite \</span><br><span>@@ -55,16 +53,18 @@</span><br><span>           "</span><br><span> </span><br><span> CONFFILES_osmo-nitb = "${sysconfdir}/osmocom/osmo-nitb.cfg"</span><br><span style="color: hsl(120, 100%, 40%);">+SYSTEMD_SERVICE_osmo-nitb = "osmo-nitb.service"</span><br><span> INITSCRIPT_NAME_osmo-nitb = "osmo-nitb"</span><br><span> INITSCRIPT_PARAMS_osmo-nitb = "defaults 30 30"</span><br><span> FILES_osmo-nitb = " ${bindir}/osmo-nitb \</span><br><span>            /var/lib/osmocom \</span><br><span>           ${sysconfdir}/init.d/osmo-nitb \</span><br><span>             ${sysconfdir}/osmocom/osmo-nitb.cfg \</span><br><span style="color: hsl(0, 100%, 40%);">-           ${systemd_unitdir}/system/osmo-nitb.service \</span><br><span style="color: hsl(120, 100%, 40%);">+         ${systemd_system_unitdir}/osmo-nitb.service \</span><br><span>                "</span><br><span> </span><br><span> CONFFILES_osmo-bsc-nat = "${sysconfdir}/osmocom/osmo-bsc_nat.cfg"</span><br><span style="color: hsl(120, 100%, 40%);">+SYSTEMD_SERVICE_osmo-bsc-nat = "osmo-bsc-nat.service"</span><br><span> FILES_osmo-bsc-nat = " \</span><br><span>          ${bindir}/osmo-bsc_nat \</span><br><span>             ${sysconfdir}/osmocom/osmo-bsc_nat.cfg \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12740">change 12740</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12740"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: meta-telephony </div>
<div style="display:none"> Gerrit-Branch: 201705 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I922291bc8a1a8d52f41b3f4d5d80b80305b181cd </div>
<div style="display:none"> Gerrit-Change-Number: 12740 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>