Change in osmo-ci[master]: nightly-packages: add osmo-gsm-manuals-debian8-jessie

osmith gerrit-no-reply at lists.osmocom.org
Tue Apr 16 11:22:02 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/13658


Change subject: nightly-packages: add osmo-gsm-manuals-debian8-jessie
......................................................................

nightly-packages: add osmo-gsm-manuals-debian8-jessie

Create a compatible package for debian 8 with adjusted dependencies.
While at it, refactor create_osmo_trx_debian8_jessie() into a generic
checkout_copy_debian8_jessie() function.

Related: OS#3899
Depends: I5b9575ceb1141961e570643a5755a2bd6b6a4254 (osmo-gsm-manuals)
Change-Id: I3570599ede51b974d350064f44f77e360fafd8b0
---
M scripts/osmocom-nightly-packages.sh
1 file changed, 8 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/58/13658/1

diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index 61cb250..27cd9dc 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -148,11 +148,12 @@
   git checkout "$TAG"
 }
 
-create_osmo_trx_debian8_jessie() {
-  # The package must be already checked out via `checkout osmo-trx`
+# Copy an already checked out repository dir and apply its debian 8 patch.
+# $1: Osmocom repository
+checkout_copy_debian8_jessie() {
   cd "$REPO"
-  cp -a osmo-trx osmo-trx-debian8-jessie
-  cd osmo-trx-debian8-jessie/
+  cp -a "$1" "$1-debian8-jessie"
+  cd "$1-debian8-jessie"
   patch -p1 < debian/patches/build-for-debian8.patch
   git commit -m 'auto-commit: allow debian8 to build' debian/
   cd ..
@@ -201,10 +202,12 @@
   checkout osmo-sysmon
   checkout osmo-remsim
 
-  create_osmo_trx_debian8_jessie
+  checkout_copy_debian8_jessie "osmo-gsm-manuals"
+  checkout_copy_debian8_jessie "osmo-trx"
 
   build limesuite no_commit --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/13658
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3570599ede51b974d350064f44f77e360fafd8b0
Gerrit-Change-Number: 13658
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190416/8cefba8f/attachment.html>


More information about the gerrit-log mailing list