aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-04-16 11:56:14 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-08 11:52:22 +0000
commit72a84b551e87bcf9005d08b07ce2b55b42e8479a (patch)
treee9704ac74c3e2790ed24a07b50ff2942e750ef45
parent3f9776c9eb36a8714268099bff224b37b2af51cc (diff)
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
-rwxr-xr-xscripts/osmocom-nightly-packages.sh13
1 files changed, 8 insertions, 5 deletions
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 @@ checkout_limesuite() {
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 @@ build_osmocom() {
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