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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed May 8 11:52:23 UTC 2019


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  osmith: Verified



diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index 0d4db2d..ce532bc 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="357ad5dd0d71304179d476b38e67240527d917df"
   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: merged
Gerrit-Change-Id: I3570599ede51b974d350064f44f77e360fafd8b0
Gerrit-Change-Number: 13658
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190508/15e143b0/attachment.htm>


More information about the gerrit-log mailing list