diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-05-28 15:21:50 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2019-05-29 12:41:11 +0200 |
commit | 83f4f25d7cae8bb1ccfa4478304c8c8480651d59 (patch) | |
tree | fe2af8ea4cd4220ba35f0d7dd4b458b157b8978a | |
parent | 9dc7e2ad4b536911a133df0e5493c0b691f239ac (diff) |
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
-rwxr-xr-x | scripts/osmocom-latest-packages.sh | 22 |
1 files changed, 21 insertions, 1 deletions
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 @@ checkout() { 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 @@ build() { # 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 @@ build_osmocom() { # 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 |