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
This commit is contained in:
Oliver Smith 2019-05-28 15:21:50 +02:00
parent 9dc7e2ad4b
commit 83f4f25d7c
1 changed files with 21 additions and 1 deletions

View File

@ -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