Project

General

Profile

Nightly Builds » History » Version 54

osmith, 09/25/2023 03:11 PM

1 8 laforge
{{>toc}}
2
3 16 laforge
h1. _Nightly_ Builds
4 1 laforge
5
*NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING*.  The [[Latest_Builds]] are a more stable alternative.
6 17 laforge
7 45 osmith
sysmocom has set up package builds for the current master version of the Osmocom GSM related software. As the name implies, these packages are built every night.
8 38 osmith
9 45 osmith
The packages are built for various Linux distributions, find the complete list at the OBS page: https://obs.osmocom.org/project/show/osmocom:nightly
10 14 neels
11 45 osmith
A nice status overview on the builds is available at https://obs.osmocom.org/project/monitor/osmocom:nightly
12 1 laforge
13 46 osmith
Browse the published binary packages at: https://downloads.osmocom.org/packages/osmocom:/nightly/
14
15 16 laforge
h2. How to use the _osmocom:nightly_ builds
16 1 laforge
17
h3. Debian based distributions
18
19 53 osmith
h4. Using extrepo
20
21
<pre>
22
# apt install extrepo
23
# extrepo enable osmocom-nightly
24
</pre>
25
26
h4. Manually
27
28 52 osmith
Replace Debian_XX with your distribution name, as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/.
29 1 laforge
30
<pre>
31
$ sudo su
32 52 osmith
# OSMOCOM_REPO="https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_XX"
33 50 fixeria
# wget $OSMOCOM_REPO/Release.key
34 1 laforge
# sha256sum Release.key
35 47 osmith
5c317407aef0671b7795d79942b4b9118dca199884d88accab2aae92a5ad08ba  Release.key
36 51 osmith
# mv Release.key /etc/apt/trusted.gpg.d/osmocom-nightly.asc
37
# echo "deb [signed-by=/etc/apt/trusted.gpg.d/osmocom-nightly.asc] $OSMOCOM_REPO/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list
38 16 laforge
# apt-get update
39 24 osmith
# exit
40 16 laforge
</pre>
41
42 54 osmith
h4. Raspberry Pi OS
43
44
Follow the instructions above, and replace Debian_XX with:
45
* 64-bit: Debian_11
46
* 32-bit: Raspbian_11
47
48
This example is for Raspberry Pi OS 11, adjust the number accordingly.
49
50 16 laforge
h3. RPM based distributions
51 38 osmith
52 45 osmith
Example for CentOS_8, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/.
53 16 laforge
54
<pre>
55
$ sudo su
56 45 osmith
# wget https://downloads.osmocom.org/packages/osmocom:/nightly/CentOS_8/osmocom:nightly.repo
57
# sha256sum osmocom:nightly.repo
58
804f3b16e0ede84ad9aac210267e4ee1c4eb7f894eddce16d61b8e1cb40c7bec  osmocom:nightly.repo
59
# mv osmocom:nightly.repo /etc/yum.repos.d/
60 16 laforge
# exit
61
</pre>
62
63 45 osmith
As soon as you try to install a package from the Osmocom repository (e.g. <code>dnf install osmo-hlr</code>), @dnf@ will import the repositories GPG key as defined in the .repo file ("repomd.xml.key":https://downloads.osmocom.org/packages/osmocom:/nightly/CentOS_8/repodata/repomd.xml.key), download the repository index and finally install the Osmocom packages.
64 37 laforge
65 49 laforge
h2. Apt Pinning
66
67
If you want to make sure that osmocom packages are always preferred over your distribution's upstream packages with the same name, see [[Apt_Pinning]]
68
69
70 37 laforge
h2. How are those builds created?
71
72 45 osmith
See [[OBS Maintenance]].
73 39 laforge
74
h2. Historical Archives / Older Packages
75
76 45 osmith
If you are interested in a historical archive of previous / older packages, you can find it at https://downloads.osmocom.org/obs-mirror/ - it contains a daily mirror of the entire *osmocom:* OBS hierarchy, including the *nightly* builds.  The full URL e.g. for Raspbian 10 of April 22nd, 2021 would be https://downloads.osmocom.org/obs-mirror/20210422-002301/nightly/Raspbian_10/.
Add picture from clipboard (Maximum size: 48.8 MB)