<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/14244">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">OBS: build osmo-gsm-manuals-dev in latest<br><br>Enable in osmocom-latest-packages.sh. Check it out and create the source<br>package for the latest release as usually, but also create a second<br>version for debian 8 with adjusted dependencies (like in nightly [1]).<br><br>[1] Change-Id: I3570599ede51b974d350064f44f77e360fafd8b0<br><br>Related: OS#3899<br>Change-Id: Ib7251cca9116151e473798879375cd5eb48ff3ad<br>---<br>M scripts/osmocom-latest-packages.sh<br>1 file changed, 30 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/44/14244/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh</span><br><span>index 020efaa..bc94e24 100755</span><br><span>--- a/scripts/osmocom-latest-packages.sh</span><br><span>+++ b/scripts/osmocom-latest-packages.sh</span><br><span>@@ -58,6 +58,30 @@</span><br><span>   git checkout -f -B "$VER" "refs/tags/$VER"</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+# Copy an already checked out repository dir. The debian8 patch will be applied</span><br><span style="color: hsl(120, 100%, 40%);">+# later, since build() does a "git checkout" to the latest version (unlike in</span><br><span style="color: hsl(120, 100%, 40%);">+# osmocom-nightly-packages.sh).</span><br><span style="color: hsl(120, 100%, 40%);">+# $1: Osmocom repository</span><br><span style="color: hsl(120, 100%, 40%);">+checkout_copy_debian8_jessie() {</span><br><span style="color: hsl(120, 100%, 40%);">+  echo</span><br><span style="color: hsl(120, 100%, 40%);">+  echo "====> Checking out $1-debian8-jessie"</span><br><span style="color: hsl(120, 100%, 40%);">+  cd "$TOP"</span><br><span style="color: hsl(120, 100%, 40%);">+  if [ -d "$1-debian8-jessie" ]; then</span><br><span style="color: hsl(120, 100%, 40%);">+    rm -rf "$1-debian8-jessie"</span><br><span style="color: hsl(120, 100%, 40%);">+  fi</span><br><span style="color: hsl(120, 100%, 40%);">+  cp -a "$1" "$1-debian8-jessie"</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%);">+# $1: checkout directory name</span><br><span style="color: hsl(120, 100%, 40%);">+apply_distro_specific_patch() {</span><br><span style="color: hsl(120, 100%, 40%);">+  case "$1" in</span><br><span style="color: hsl(120, 100%, 40%);">+    *"-debian8-jessie")</span><br><span style="color: hsl(120, 100%, 40%);">+      patch -p1 < debian/patches/build-for-debian8.patch</span><br><span style="color: hsl(120, 100%, 40%);">+      git commit --amend --no-edit debian/</span><br><span style="color: hsl(120, 100%, 40%);">+    ;;</span><br><span style="color: hsl(120, 100%, 40%);">+  esac</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> build() {</span><br><span>   project=$1</span><br><span>   gitbpargs="$2"</span><br><span>@@ -67,6 +91,7 @@</span><br><span>   cd "$TOP/$project"</span><br><span>   VER=$(get_last_tag "$project")</span><br><span>   git checkout -f -B "$VER" "refs/tags/$VER"</span><br><span style="color: hsl(120, 100%, 40%);">+  apply_distro_specific_patch "$project"</span><br><span>   if [ -x ./git-version-gen ]; then</span><br><span>     ./git-version-gen . > .tarball-version 2>/dev/null</span><br><span>     gbp buildpackage -S -uc -us -d --git-ignore-branch "--git-export-dir=$output" \</span><br><span>@@ -102,12 +127,12 @@</span><br><span> # add those once they have tagged any versions that include the 'debian' sub-dir:</span><br><span> #rtl-sdr</span><br><span> #osmo-fl2k</span><br><span style="color: hsl(0, 100%, 40%);">-#osmo-gsm-manuals</span><br><span> </span><br><span> build_osmocom() {</span><br><span>   prepare</span><br><span> </span><br><span>   checkout limesuite</span><br><span style="color: hsl(120, 100%, 40%);">+  checkout osmo-gsm-manuals</span><br><span>   checkout libosmocore</span><br><span>   checkout libosmo-sccp</span><br><span>   checkout libosmo-abis</span><br><span>@@ -135,7 +160,11 @@</span><br><span>   # TODO: enable once libosmo-abis > 0.6.0 is available (IPA keepalive FSM)</span><br><span>   # checkout osmo-remsim</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+  checkout_copy_debian8_jessie "osmo-gsm-manuals"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>   build limesuite --git-upstream-tree="$(get_last_tag limesuite)"</span><br><span style="color: hsl(120, 100%, 40%);">+  build osmo-gsm-manuals</span><br><span style="color: hsl(120, 100%, 40%);">+  build osmo-gsm-manuals-debian8-jessie</span><br><span>   build libosmocore</span><br><span>   build libosmo-sccp</span><br><span>   build libosmo-abis</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/14244">change 14244</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/14244"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ib7251cca9116151e473798879375cd5eb48ff3ad </div>
<div style="display:none"> Gerrit-Change-Number: 14244 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>