Nightly Builds » History » Revision 58
Revision 57 (Hoernchen, 12/20/2023 11:05 PM) → Revision 58/62 (osmith, 12/21/2023 07:28 AM)
{{>toc}} h1. _Nightly_ Builds *NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING*. The [[Latest_Builds]] are a more stable alternative. 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. The packages are built for various Linux distributions, find the complete list at the OBS page: https://obs.osmocom.org/project/show/osmocom:nightly A nice status overview on the builds is available at https://obs.osmocom.org/project/monitor/osmocom:nightly Browse the published binary packages at: https://downloads.osmocom.org/packages/osmocom:/nightly/ h2. How to use the _osmocom:nightly_ builds h3. Debian based distributions h4. Using extrepo (Debian only) (*not* Ubuntu) <pre> # apt install extrepo # extrepo enable osmocom-nightly </pre> h4. Manually (Debian, Ubuntu, Raspberry Pi OS) Replace Debian_XX with your distribution name, for example xUbuntu_23.10, as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/. <pre> $ sudo su # OSMOCOM_REPO="https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_XX" # wget $OSMOCOM_REPO/Release.key # sha256sum Release.key 5c317407aef0671b7795d79942b4b9118dca199884d88accab2aae92a5ad08ba Release.key # mv Release.key /etc/apt/trusted.gpg.d/osmocom-nightly.asc # echo "deb [signed-by=/etc/apt/trusted.gpg.d/osmocom-nightly.asc] $OSMOCOM_REPO/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list # apt-get update # exit </pre> h4. Raspberry Pi OS Follow the instructions above, and replace Debian_XX with: * 64-bit: Debian_11 * 32-bit: Raspbian_11 This example is for Raspberry Pi OS 11, adjust the number accordingly. h3. RPM based distributions Example for CentOS_8, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/. <pre> $ sudo su # wget https://downloads.osmocom.org/packages/osmocom:/nightly/CentOS_8/osmocom:nightly.repo # sha256sum osmocom:nightly.repo 804f3b16e0ede84ad9aac210267e4ee1c4eb7f894eddce16d61b8e1cb40c7bec osmocom:nightly.repo # mv osmocom:nightly.repo /etc/yum.repos.d/ # exit </pre> 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. h2. Apt Pinning 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]] h2. How are those builds created? See [[OBS Maintenance]]. h2. Historical Archives / Older Packages If you are interested in a historical archive of previous / older packages, you can find it at https://package-archive.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://package-archive.osmocom.org/obs-mirror/20210422-002301/nightly/Raspbian_10/.