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

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sql/Makefile: Create empty /var/lib/osmocom directory at install time<br><br>Otherwise osmo-hlr is unable to start correctly.<br><br>Change-Id: I1233fc9b3dc685561f79a34e1c32c459dc1aa685<br>---<br>M debian/osmo-hlr.install<br>M sql/Makefile.am<br>2 files changed, 8 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/debian/osmo-hlr.install b/debian/osmo-hlr.install</span><br><span>index 825e65c..7991522 100644</span><br><span>--- a/debian/osmo-hlr.install</span><br><span>+++ b/debian/osmo-hlr.install</span><br><span>@@ -3,3 +3,4 @@</span><br><span> /usr/share/doc/osmo-hlr/sql/hlr.sql</span><br><span> /usr/share/doc/osmo-hlr/sql/hlr_data.sql</span><br><span> /usr/share/doc/osmo-hlr/examples/osmo-hlr.cfg</span><br><span style="color: hsl(120, 100%, 40%);">+/var/lib/osmocom</span><br><span>diff --git a/sql/Makefile.am b/sql/Makefile.am</span><br><span>index 75be70e..e84943b 100644</span><br><span>--- a/sql/Makefile.am</span><br><span>+++ b/sql/Makefile.am</span><br><span>@@ -5,3 +5,10 @@</span><br><span> </span><br><span> sqldir = $(docdir)/sql</span><br><span> sql_DATA = $(srcdir)/hlr.sql $(srcdir)/hlr_data.sql</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+install-data-local:</span><br><span style="color: hsl(120, 100%, 40%);">+    $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/osmocom</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+uninstall-hook:</span><br><span style="color: hsl(120, 100%, 40%);">+  rm -rf $(DESTDIR)$(localstatedir)/lib/osmocom</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9831">change 9831</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/9831"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I1233fc9b3dc685561f79a34e1c32c459dc1aa685 </div>
<div style="display:none"> Gerrit-Change-Number: 9831 </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: Jenkins Builder </div>