aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2024-03-18contrib/jenkins: add --with-bladerfOliver Smith1-0/+1
Related: OS#6409 Depends: docker-playground I3c3fe95d8ebb21f7691a491144885c7deb8049a5 Change-Id: I1300aa107fd1031cf921fafc3566f0f64f9cdd72
2024-03-18contrib/jenkins: make configure args diff friendlyOliver Smith1-2/+11
Removing new lines in DISTCHECK_CONFIGURE_FLAGS again is needed, as it otherwise fails with: enable-sanitize /bin/bash: line 1: enable-sanitize: command not found Change-Id: I049af384eccdb6f8e5b305ca35de106eeaca3fa8
2023-11-24osmo-trx-uhd: Make sure HOME environment variable is setHarald Welte1-0/+1
It turns out that uhd versions >= 4.0.0.0 *require* that either the HOME or the XDG_CONFIG_HOME variables are set, and otherwise will terminate the program. Change-Id: I1816013c507da28719590f063da0a397da656a10 Closes: OS#6269
2023-09-12Bump version: 1.5.0.50-5042-dirty → 1.6.01.6.0Pau Espin Pedrol1-4/+4
Change-Id: I718c6223d0b1a2ffb68887c159546b78e141dffa
2023-05-26systemd: depend on networking-online.targetOliver Smith4-0/+8
Related: SYS#6400 Change-Id: Idadcbbf55e976ae035cfac4b85ccd870e0f27b82
2023-02-07Bump version: 1.4.1.29-10b4-dirty → 1.5.01.5.0Pau Espin Pedrol1-4/+4
Change-Id: I84399209ff49769254771e9273bcfc61d47a0226
2022-12-23ms-trx supportEric1-1/+1
This is basically a trxcon that includes a transceiver, and can just be used with existing and future apps supporting the trxcon interface, i.e. mobile or ccch_scan. Supports bladerf and uhd. Currently using hardcoded sched/prios aimed at a setup with working, reliable usb and reserved cores, for example a raspi 4 (ONLY 4, not 3, not 2, not any other version) Additionally builds test tools used for development: osmo-trx-syncthing* see https://osmocom.org/projects/baseband/wiki/MS-side_GPRS for the project description and details Change-Id: I36c65a8c725c4da76dc70006cd96b0a2b6878e84
2022-12-22contrib/jenkins.sh: dump submodule status before buildingVadim Yanitskiy1-0/+1
Change-Id: I0f9d8f9213fd59605172fac011306c96c39bd5eb
2022-11-11Add realtime scheduling and set priority in service fileMax4-0/+20
This sets highest realtime priority among all Osmocom services. Related: OS#5687 Change-Id: Id74acf201d4388493f0eeb38909641c662551164
2022-09-09Set working directory in systemd service fileMax4-0/+8
By default systemd will execute service with root directory (or home directory for user instance) which might result in attempts to create files in unexpected place. Let's set it to 'osmocom' subdir of state directory (/var/lib for system instance) instead. Related: OS#4821 Change-Id: I041bb9e0b4250826d2d15d0ea2cdb93d7a0cd04b
2022-07-11contrib/jenkins: don't run "make distcheck" on armOliver Smith1-2/+5
Avoid building osmo-trx a second time on arm during "make distcheck". If the build of osmo-trx already passed on arm, running "make distcheck" should give the exact same result as on x86_64. This should shorten the build time significantly for osmo-trx jobs running on raspberry pis, currently they take half an hour. Change-Id: Ib4fbf7d54d479bbdda3c1415493bfc57b37d3971
2021-11-16Bump version: 1.3.1.28-019d-dirty → 1.4.01.4.0Pau Espin Pedrol1-4/+4
Change-Id: Ie675909593b0c383b59b7b4a4edd46cd93283622
2021-09-03d/patches/build-for-debian8.patch: removeOliver Smith1-5/+0
Remove this workaround, as we are not building for debian 8 anymore. Related: OS#5223 Depends: osmo-ci Ibe7ba124557969df62798ba49c4489e9606c2341 Change-Id: I5519075a7f95fa61b0b5f1825e4e9324b9eede76
2021-02-23Bump version: 1.2.0.132-3b8f-dirty → 1.3.01.3.0Pau Espin Pedrol1-4/+4
Change-Id: I92b99ebab1d54e9cbdc8469d76105c55bcb03f36
2021-01-13contrib/jenkins: don't build osmo-gsm-manualsOliver Smith1-1/+0
Related: OS#4912 Change-Id: Ibacb11da37acfd324cee37068099627136717781
2021-01-08osmo-trx.spec: move ipc-driver-test into package ipc-testAlexander Couzens1-1/+13
Allow to drop the uhd runtime dependency of osmo-trx-ipc. uhd is only required for the driver-test utility. Related: SYS#5266 Change-Id: Iff91e09684167247c9c7de0141451a5b9344aa0d
2020-10-12contrib/jenkins: Enable parallel make in make distcheckPau Espin Pedrol1-2/+2
Change-Id: I32925b35126bcd4ef7b5e1315dde28869c2b4b86 Related: OS#4421
2020-08-25jenkins.sh: Verify distro-specific patches applyPau Espin Pedrol1-0/+6
Change-Id: I75792c5defff63b7deaeb533b6818deaac3e0fd3
2020-08-25osmo-trx-ipcEric Wild4-4/+53
This adds a IPC backend that uses shared memory interface to communicate with (proprietary) devices. Requires config file option dev-args ipc_msock=/path/to/socket to specify the master socket the ipc backend should connect to. If UHD is avaialble the ipc-driver-test tool can be used to test the backend with a uhd device, this was so far only tested with a b2xx. Change-Id: Ice63d3499026293ade8aad675ff7a883bcdd5756
2020-06-24osmo-trx.spec.in: Use %config(noreplace) to retain current config fileHarald Welte1-2/+2
Change-Id: Ia6a279e4e19eee8368219e3bc1b011802b1fcadc
2020-06-17RPM spec file: Require uhd-firmware for osmo-trx-uhdHarald Welte1-0/+1
The automatic dependency will only depend on the UHD library package. The user will then fail to start osmo-trx-uhd due to missing firmware. So let's include an explicit 'Requires' to the uhd-firmware package to solve this. Change-Id: I0ebfe669c21d3957a48d57bd7248244e3e924236
2020-05-19contrib: integrate RPM specOliver Smith1-8/+27
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Disable lms, usrp1 for CentOS 8. Related: OS#4550 Change-Id: Ie27fcc4f9033f0049507d9dcc295541ac0744c73
2020-05-19contrib: import RPM specOliver Smith1-0/+189
Copy the RPM spec file from: https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly Related: OS#4550 Change-Id: I694fcd888778ab68d13165f4d0bf65e5d6870fb4
2020-02-19contrib/jenkins.sh: Reorder sanity checksPau Espin Pedrol1-7/+14
Change-Id: Idfe12148aa7a8030bdaf56d11c1547ebc3f56d14
2019-10-17Fix common misspellings and typosMartin Hauke1-1/+1
Change-Id: I4ec7accb1912c052b446be7c399bed32a8c62253
2019-07-30jenkins.sh: Workaround libusrp build race conditonPau Espin Pedrol1-1/+1
When submitting patches to osmo-trx in gerrit, sometimes the jenkins job fails due to libusrp failing to build. I never have this issue in on my workstation. Let's disable parallel make and see if we can avoid it for now. Related: OS#3970 Change-Id: I24bc54f5872e8edb9fab5b88055a00cebe1a6911
2019-07-10contrib/jenkins.sh: run "make maintainer-clean"Oliver Smith1-0/+1
Related: OS#3047 Change-Id: I6d541b47e68f5a8a61ac139a3ea85a9cb33856c1
2018-12-06contrib: fix makedistcheck with disabled systemdOliver Smith1-1/+5
EXTRA_DIST files need to be distributed, no matter if the systemd option is configured or not. Change-Id: I2e417f4c453987df1ac04f0ff41bf000da4b5c49
2018-12-05jenkins.sh: run "make distcheck"Oliver Smith1-3/+6
Run distcheck in CI to be consistent with other Osmocom projects. Change-Id: I7d3fa0fe12e13ca13d3330158425718e5c34d00d
2018-12-05contrib/jenkins.sh: build and publish manualsOliver Smith1-1/+21
Add new environment variables WITH_MANUALS and PUBLISH to control if the manuals should be built and uploaded. Describe all environment vars on top of the file. When WITH_MANUALS is set, install osmo-gsm-manuals like any other dependency and add --enable-manuals to the configure flags (for "make" and "make distcheck"). Add the bin subdir of the installed files to PATH, so osmo-gsm-manuals-check-depends can be used by ./configure. Related: OS#3385 Change-Id: I54fdd18e405b2c84762ea06d91359867ceec8184
2018-10-09jenkins.sh: Enable build of osmo-trx-lmsPau Espin Pedrol1-1/+1
Change-Id: Idfa7ce566ad69b181bcadeee7ff023c77ecd4d6b
2018-09-12Install systemd services with autotoolsPau Espin Pedrol2-0/+19
Change-Id: Ia1a4fb62dee35737ece1f3501f352501eba2449e
2018-09-10jenkins.sh: Add --enable-werror flag to osmo-trx configure stepPau Espin Pedrol1-1/+1
This way we catch newly introduced compilation warnings in osmo-trx. Change-Id: I7effaf243fd6e7fe69728cfce5f97e0b5bd4743c
2018-06-19contrib: Add systemd services for all backendsPau Espin Pedrol3-0/+33
Change-Id: I38a7ff7b9dafc3d6aa0426777036e3d7666045a7
2018-04-28jenkins.sh: Enable build of osmo-trx-usrp1Pau Espin Pedrol1-1/+2
Change-Id: I44a978fdd7fac683520be3586d84783e5e13de5f
2018-04-16configure.ac: Add --enable-sanitize optionPau Espin Pedrol1-2/+2
Change-Id: I1b5154a47bb2f66103ac254a0f422e8a80b2d3e0
2018-04-12jenkins.sh: change qemu-img default location to $HOME/qemu-img instead of ↵Alexander Couzens1-1/+1
/opt/qemu-img Change-Id: I56f314d78c0ca968b1fef9a91ecd540a7cc8fa86
2018-03-27jenkins.sh: cleanup always the workspaceAlexander Couzens1-3/+1
It was broken before becaues of checking emptyness against literal string will never be zero. However it should be cleaned always because the script is executed recursive which would also end up, never being executed. Change-Id: Ib228ff247a72b21b12e8dd4cbe3afe3e858c89d3
2018-03-02jenkins.sh: fix the download url if the qemu image wasn't setupAlexander Couzens1-1/+2
Download the image from yesterday because linuxcontainers only contains the images of the last 3 days. Change-Id: I75e270b7255c1cd7fca1674111b0f19fc7bba74f
2018-02-22Depend on libosmocorePau Espin Pedrol1-3/+28
Change-Id: If345c89293fcd7d1ad4f17214eea339951f25a5d
2018-01-15contrib/jenkins.sh: Use qemu+proot+debootstrap to run tests with ARM ↵Pau Espin Pedrol1-3/+53
instruction set The following logic doesn't require root access to run the tests, which means we can easily run it inside jenkins. Change-Id: Iba3f4de008662805d8ffc46e1f473e407b088fb8
2017-10-31jenkins: use osmo-clean-workspace.sh before and after buildNeels Hofmeyr1-0/+5
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale. Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93 Change-Id: I609f7c7c88b49f26e2e48e1f1cffed76d9e6fb5e
2016-10-17add contrib/jenkins.sh, for gerrit build botNeels Hofmeyr1-0/+7
Change-Id: If8887525b0062090e9445a35e32b03e3b8e7eede