<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/10948">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Pau Espin Pedrol: Verified
  Harald Welte: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">libosmo-sccp: handle systemd and cfg files through autotools<br><br>Change-Id: I7bb69bdad7582e29b66f075db1305305a9ca648c<br>---<br>M recipes-osmocom/libosmo-sccp/libosmo-sccp.inc<br>1 file changed, 6 insertions(+), 9 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/recipes-osmocom/libosmo-sccp/libosmo-sccp.inc b/recipes-osmocom/libosmo-sccp/libosmo-sccp.inc</span><br><span>index 60793e3..78dd525 100644</span><br><span>--- a/recipes-osmocom/libosmo-sccp/libosmo-sccp.inc</span><br><span>+++ b/recipes-osmocom/libosmo-sccp/libosmo-sccp.inc</span><br><span>@@ -3,12 +3,17 @@</span><br><span> HOMEPAGE = "https://osmocom.org/projects/libosmo-sccp"</span><br><span> LICENSE = "AGPLv3"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-INC_PR="r0.${META_TELEPHONY_OSMO_INC}"</span><br><span style="color: hsl(120, 100%, 40%);">+INC_PR="r1.${META_TELEPHONY_OSMO_INC}"</span><br><span> </span><br><span> LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"</span><br><span> </span><br><span> inherit autotools pkgconfig systemd</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+PACKAGECONFIG ??= "\</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%);">+    "</span><br><span style="color: hsl(120, 100%, 40%);">+PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> # we require the tests to link to the static libosmo-sigtran library to</span><br><span> # access symbols not starting with osmo_*</span><br><span> EXTRA_OECONF_remove = "--disable-static"</span><br><span>@@ -17,14 +22,6 @@</span><br><span> SYSTEMD_PACKAGES = "osmo-stp"</span><br><span> SYSTEMD_SERVICE_osmo-stp = "osmo-stp.service"</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-stp.cfg ${D}${sysconfdir}/osmocom/</span><br><span style="color: hsl(0, 100%, 40%);">-       install -m 0644 ${S}/contrib/systemd/osmo-stp.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> FILES_osmo-stp = " \</span><br><span>           ${bindir}/osmo-stp \</span><br><span>                 ${sysconfdir}/osmocom/osmo-stp.cfg \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10948">change 10948</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/10948"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: meta-telephony </div>
<div style="display:none"> Gerrit-Branch: laforge/nightly </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7bb69bdad7582e29b66f075db1305305a9ca648c </div>
<div style="display:none"> Gerrit-Change-Number: 10948 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>