scripts/tarballs: add osmo-e1-recorder

Closes: OS#6228
Change-Id: I6bd8387f99c258226125b33705645c43aadd875f
This commit is contained in:
Oliver Smith 2023-10-19 10:57:16 +02:00
parent 4e3b7babda
commit a498ca6f2a
3 changed files with 29 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
cov-analysis-*
source-*
install-*
!install-depends.sh
tokens.txt
.*.sw?
jenkins_jobs.ini

View File

@ -0,0 +1,25 @@
#!/bin/sh -ex
# For releases where no debian/control exists, install the dependencies to pass
# the checks in configure.ac so we can run it before building a release
# tarball.
PROJECT="$1"
TAG="$2"
DEPENDS=""
case "$PROJECT" in
osmo-e1-recorder)
DEPENDS="
libosmo-abis-dev
libosmocore-dev
"
;;
*)
DEPENDS=""
;;
esac
if [ -n "$DEPENDS" ]; then
apt-get update
apt-get install -y --no-install-recommends $DEPENDS
fi

View File

@ -20,6 +20,7 @@ OSMO_RELEASE_REPOS="
osmo-bsc
osmo-bts
osmo-cbc
osmo-e1-recorder
osmo-e1d
osmo-gbproxy
osmo-ggsn
@ -230,6 +231,8 @@ build_tarball() {
if [ -e debian/control ]; then
apt-get update
apt-get -y build-dep .
else
/tarballs/install-depends.sh \"$repo\" \"$tag\"
fi
cd /src/$project_path