mirror of https://gerrit.osmocom.org/osmo-ci
scripts/tarballs: add osmo-e1-recorder
Closes: OS#6228 Change-Id: I6bd8387f99c258226125b33705645c43aadd875f
This commit is contained in:
parent
4e3b7babda
commit
a498ca6f2a
|
@ -1,6 +1,7 @@
|
|||
cov-analysis-*
|
||||
source-*
|
||||
install-*
|
||||
!install-depends.sh
|
||||
tokens.txt
|
||||
.*.sw?
|
||||
jenkins_jobs.ini
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue