summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-07-31 18:12:32 +0200
committerlynxis lazus <lynxis@fe80.eu>2018-08-10 00:43:58 +0000
commitc74c64d726f0a6407664db5207f64e7840ad4439 (patch)
treeac7766af304a4f852c130f223c41ffe811bbfb42 /scripts
parent2812b99810d588042514239160bc24770208e949 (diff)
obs-nightly: introduce osmo-trx-debian8-jessie
A compatible package for debian8 as it does not support limesdr. This patch depend on: I261302d2ed16e76540073589504e7426e23d00a1 Change-Id: I8477b580976b376ee5abdde98a651d47199ef6d9
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/osmocom-nightly-packages.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index f2bf9b1..88b6812 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -134,6 +134,16 @@ checkout_limesuite() {
git checkout "$TAG"
}
+create_osmo_trx_debian8_jessie() {
+ # The package must be already checked out via `checkout osmo-trx`
+ cd "$REPO"
+ cp -a osmo-trx osmo-trx-debian8-jessie
+ cd osmo-trx-debian8-jessie/
+ patch -p1 < debian/patches/build-for-debian8.patch
+ git commit -m 'auto-commit: allow debian8 to build' debian/
+ cd ..
+}
+
build_osmocom() {
BASE=$PWD
DATA=$BASE/data
@@ -173,6 +183,8 @@ build_osmocom() {
checkout rtl-sdr
checkout osmo-fl2k
+ create_osmo_trx_debian8_jessie
+
build limesuite no_commit --git-upstream-tree=01e2d00c5005b85d1f94cca02881756a72e35e2a
build libosmocore
build libosmo-sccp
@@ -188,6 +200,7 @@ build_osmocom() {
build openbsc
build osmo-pcap
build osmo-trx
+ build osmo-trx-debian8-jessie
build osmo-sip-connector
build osmo-bts
build osmo-pcu