Change in osmo-ci[master]: OBS: build osmo-gsm-manuals-dev in latest

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri May 31 14:24:18 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/14244 )

Change subject: OBS: build osmo-gsm-manuals-dev in latest
......................................................................

OBS: build osmo-gsm-manuals-dev in latest

Enable in osmocom-latest-packages.sh. Check it out and create the source
package for the latest release as usually, but also create a second
version for debian 8 with adjusted dependencies (like in nightly [1]).

[1] Change-Id: I3570599ede51b974d350064f44f77e360fafd8b0

Related: OS#3899
Change-Id: Ib7251cca9116151e473798879375cd5eb48ff3ad
---
M scripts/osmocom-latest-packages.sh
1 file changed, 21 insertions(+), 1 deletion(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Harald Welte: Looks good to me, approved; Verified



diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh
index 58b4a9f..543c43a 100755
--- a/scripts/osmocom-latest-packages.sh
+++ b/scripts/osmocom-latest-packages.sh
@@ -58,6 +58,22 @@
   git checkout -f -B "$VER" "refs/tags/$VER"
 }
 
+# Copy an already checked out repository dir and apply its debian 8 patch.
+# $1: Osmocom repository
+checkout_copy_debian8_jessie() {
+  echo
+  echo "====> Checking out $1-debian8-jessie"
+  cd "$TOP"
+  if [ -d "$1-debian8-jessie" ]; then
+    rm -rf "$1-debian8-jessie"
+  fi
+  cp -a "$1" "$1-debian8-jessie"
+  cd "$1-debian8-jessie"
+  patch -p1 < debian/patches/build-for-debian8.patch
+  git commit --amend --no-edit debian/
+  cd ..
+}
+
 build() {
   project=$1
   gitbpargs="$2"
@@ -101,12 +117,12 @@
 # add those once they have tagged any versions that include the 'debian' sub-dir:
 #rtl-sdr
 #osmo-fl2k
-#osmo-gsm-manuals
 
 build_osmocom() {
   prepare
 
   checkout limesuite
+  checkout osmo-gsm-manuals
   checkout libosmocore
   checkout libosmo-sccp
   checkout libosmo-abis
@@ -134,7 +150,11 @@
   # TODO: enable once libosmo-abis > 0.6.0 is available (IPA keepalive FSM)
   # checkout osmo-remsim
 
+  checkout_copy_debian8_jessie "osmo-gsm-manuals"
+
   build limesuite --git-upstream-tree="$(get_last_tag limesuite)"
+  build osmo-gsm-manuals
+  build osmo-gsm-manuals-debian8-jessie
   build libosmocore
   build libosmo-sccp
   build libosmo-abis

-- 
To view, visit https://gerrit.osmocom.org/14244
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7251cca9116151e473798879375cd5eb48ff3ad
Gerrit-Change-Number: 14244
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190531/c6f85609/attachment.html>


More information about the gerrit-log mailing list