obs/README: add overview with build_binpkg.py

Related: OS#2385
Change-Id: I1b741ad325e6541e6d59dfd50de66bee805e56fe
This commit is contained in:
Oliver Smith 2022-10-04 13:58:03 +02:00
parent 9e1f9ae039
commit 38109f8429
1 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,22 @@
Overview
========
This directory contains the following scripts, related to building Osmocom
projects in OBS (Open Build Service) and building binary packages. Here is an
overview of the scripts, run them with -h to get a more detailed description.
* build_srcpkg.py: build one source package for an Osmocom project
* update_obs_project.py: generate source packages and upload them to OBS
* build_binpkg.py: build rpm/deb packages for one Osmocom project
Docker
------
The above scripts have a -d parameter, that allows running them inside docker.
This is how we run it in jenkins to avoid installing dependencies on the host.
Note that when building binary packages, libosmocore socket tests and possibly
others will fail unless docker has ipv6 configured:
https://osmocom.org/issues/4700#note-3
Usage Example: Submitting source packages to Osmocom's OBS build server
=======================================================================