Nightly Builds » History » Version 51
osmith, 06/19/2023 02:37 PM
use /etc/apt/trusted.gpg.d as path (should be the recommended one according to sources.list(5))
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 | 46 | osmith | Example for Debian 11, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/. |
20 | 1 | laforge | |
21 | <pre> |
||
22 | $ sudo su |
||
23 | 50 | fixeria | # OSMOCOM_REPO="https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_11" |
24 | # wget $OSMOCOM_REPO/Release.key |
||
25 | 1 | laforge | # sha256sum Release.key |
26 | 47 | osmith | 5c317407aef0671b7795d79942b4b9118dca199884d88accab2aae92a5ad08ba Release.key |
27 | 51 | osmith | # mv Release.key /etc/apt/trusted.gpg.d/osmocom-nightly.asc |
28 | # echo "deb [signed-by=/etc/apt/trusted.gpg.d/osmocom-nightly.asc] $OSMOCOM_REPO/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list |
||
29 | 16 | laforge | # apt-get update |
30 | 24 | osmith | # exit |
31 | 16 | laforge | </pre> |
32 | |||
33 | h3. RPM based distributions |
||
34 | 38 | osmith | |
35 | 45 | osmith | Example for CentOS_8, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/. |
36 | 16 | laforge | |
37 | <pre> |
||
38 | $ sudo su |
||
39 | 45 | osmith | # wget https://downloads.osmocom.org/packages/osmocom:/nightly/CentOS_8/osmocom:nightly.repo |
40 | # sha256sum osmocom:nightly.repo |
||
41 | 804f3b16e0ede84ad9aac210267e4ee1c4eb7f894eddce16d61b8e1cb40c7bec osmocom:nightly.repo |
||
42 | # mv osmocom:nightly.repo /etc/yum.repos.d/ |
||
43 | 16 | laforge | # exit |
44 | </pre> |
||
45 | |||
46 | 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. |
47 | 37 | laforge | |
48 | 49 | laforge | h2. Apt Pinning |
49 | |||
50 | 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]] |
||
51 | |||
52 | |||
53 | 37 | laforge | h2. How are those builds created? |
54 | |||
55 | 45 | osmith | See [[OBS Maintenance]]. |
56 | 39 | laforge | |
57 | h2. Historical Archives / Older Packages |
||
58 | |||
59 | 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/. |