<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12751">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-msc: handle systemd and cfg files through autotools<br><br>Change-Id: I0ccddd158f88fdd5dbe8e9a36c62d515b973486a<br>---<br>M recipes-osmocom/osmo-msc/osmo-msc.inc<br>1 file changed, 7 insertions(+), 10 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/51/12751/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/recipes-osmocom/osmo-msc/osmo-msc.inc b/recipes-osmocom/osmo-msc/osmo-msc.inc</span><br><span>index e5364cd..59280ce 100644</span><br><span>--- a/recipes-osmocom/osmo-msc/osmo-msc.inc</span><br><span>+++ b/recipes-osmocom/osmo-msc/osmo-msc.inc</span><br><span>@@ -5,23 +5,20 @@</span><br><span> </span><br><span> DEPENDS = "libdbi libosmocore libosmo-abis libosmo-sccp libosmo-netif osmo-mgw osmo-hlr"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-INC_PR="r1.${META_TELEPHONY_OSMO_INC}"</span><br><span style="color: hsl(120, 100%, 40%);">+INC_PR="r2.${META_TELEPHONY_OSMO_INC}"</span><br><span> </span><br><span> inherit autotools pkgconfig systemd</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-PACKAGECONFIG ??= "smpp ${@bb.utils.filter('DISTRO_FEATURES', 'iu', d)}"</span><br><span style="color: hsl(120, 100%, 40%);">+PACKAGECONFIG ??= "\</span><br><span style="color: hsl(120, 100%, 40%);">+    smpp \</span><br><span style="color: hsl(120, 100%, 40%);">+    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \</span><br><span style="color: hsl(120, 100%, 40%);">+    ${@bb.utils.filter('DISTRO_FEATURES', 'iu', d)} \</span><br><span style="color: hsl(120, 100%, 40%);">+    "</span><br><span style="color: hsl(120, 100%, 40%);">+PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"</span><br><span> PACKAGECONFIG[iu] = "--enable-iu,--disable-iu,libasn1c osmo-iuh,"</span><br><span> PACKAGECONFIG[smpp] = "--enable-smpp,--disable-smpp,libsmpp34,"</span><br><span> </span><br><span> RDEPENDS_${PN} = "libdbd-sqlite3"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-do_install_append() {</span><br><span style="color: hsl(0, 100%, 40%);">-    install -d ${D}${systemd_system_unitdir}/</span><br><span style="color: hsl(0, 100%, 40%);">-       install -d ${D}${sysconfdir}/osmocom/</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-   install -m 0644 ${S}/doc/examples/osmo-msc/osmo-msc.cfg ${D}${sysconfdir}/osmocom/</span><br><span style="color: hsl(0, 100%, 40%);">-      install -m 0644 ${S}/contrib/systemd/osmo-msc.service ${D}${systemd_system_unitdir}/</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> SYSTEMD_SERVICE_${PN} = "${PN}.service"</span><br><span> CONFFILES_osmo-msc = "${sysconfdir}/osmocom/osmo-msc.cfg"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12751">change 12751</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/12751"/><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: I0ccddd158f88fdd5dbe8e9a36c62d515b973486a </div>
<div style="display:none"> Gerrit-Change-Number: 12751 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>