Project

General

Profile

Nightly Builds » History » Version 53

osmith, 09/18/2023 09:49 AM
add extrepo

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
h3. RPM based distributions
43 38 osmith
44 45 osmith
Example for CentOS_8, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/.
45 16 laforge
46
<pre>
47
$ sudo su
48 45 osmith
# wget https://downloads.osmocom.org/packages/osmocom:/nightly/CentOS_8/osmocom:nightly.repo
49
# sha256sum osmocom:nightly.repo
50
804f3b16e0ede84ad9aac210267e4ee1c4eb7f894eddce16d61b8e1cb40c7bec  osmocom:nightly.repo
51
# mv osmocom:nightly.repo /etc/yum.repos.d/
52 16 laforge
# exit
53
</pre>
54
55 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.
56 37 laforge
57 49 laforge
h2. Apt Pinning
58
59
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]]
60
61
62 37 laforge
h2. How are those builds created?
63
64 45 osmith
See [[OBS Maintenance]].
65 39 laforge
66
h2. Historical Archives / Older Packages
67
68 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)