No description
Find a file
Ondřej Budai c680248d29 jenkins: Use sudo for tests
Jenkins now uses a non-root user for its agents, so we will need to use
sudo for some commands.

Stolen from osbuild/osbuild-composer#581, big thanks to @major!
2020-05-04 10:54:18 +02:00
.github/workflows test: '{. -> ./mod}/test_util_osrelease.py' 2020-04-28 15:39:00 +02:00
assemblers osbuild: convert to jsoncomm 2020-04-21 13:47:38 +02:00
docs osbuild: add --output-directory=DIR 2020-04-15 15:40:17 +02:00
jenkins jenkins: Use sudo for tests 2020-05-04 10:54:18 +02:00
osbuild buildroot: drop unneeded DeviceAllow= 2020-04-29 20:31:32 +02:00
runners osbuild: convert to jsoncomm 2020-04-21 13:47:38 +02:00
samples samples: fix grub2-legacy in base-qcow2 2020-04-20 18:58:53 +02:00
schemas schema: add json-schema describing our manifest 2020-03-07 13:43:24 +01:00
sources sources/ostree: enable locked-access explicitly 2020-04-27 16:53:43 +02:00
stages osbuild: cleanup contextlib usage 2020-04-21 16:02:20 +02:00
test test: '{. -> ./mod}/test_util_osrelease.py' 2020-04-28 15:39:00 +02:00
.editorconfig editorconfig: add one matching current style 2019-12-13 18:15:08 +01:00
.gitignore .gitignore: remove old ignored directory 2020-03-06 11:57:17 +01:00
.pylintrc pylint: disable too-many-arguments rule 2019-07-24 12:55:48 +02:00
.travis.yml ci: import runtime tests to github actions 2020-03-24 16:08:24 +01:00
LICENSE Revert "Fill in the license template" 2019-11-18 12:23:10 +01:00
Makefile test: provide Makefile convenience targets 2020-04-24 15:50:44 +02:00
NEWS.md build: fill in preliminary NEWS entry for v13 2020-04-29 15:30:42 +02:00
osbuild.spec 13 2020-04-29 20:39:37 +02:00
README.md docs: refactor README 2020-03-02 21:34:09 +01:00
setup.py 13 2020-04-29 20:39:37 +02:00
tree-diff tools/tree-diff: strip NULL character from selinux xattr 2019-10-08 21:39:35 +02:00

OSBuild

Build-Pipelines for Operating System Artifacts

OSBuild is a pipeline-based build system for operating system artifacts. It defines a universal pipeline description and a build system to execute them, producing artifacts like operating system images, working towards an image build pipeline that is more comprehensible, reproducible, and extendable.

See the osbuild(1) man-page for details on how to run osbuild, the definition of the pipeline description, and more.

Project

Requirements

The requirements for this project are:

  • python >= 3.7
  • systemd-nspawn >= 244

Additionally, the built-in stages require:

  • bash >= 5.0
  • coreutils >= 8.31
  • curl >= 7.68
  • qemu-img >= 4.2.0
  • rpm >= 4.15
  • tar >= 1.32
  • util-linux >= 235

At build-time, the following software is required:

  • python-docutils >= 0.13
  • pkg-config >= 0.29

Build

The standard python package system is used. Consult upstream documentation for detailed help. In most situations the following commands are sufficient to build and install from source:

python setup.py build
python setup.py install --skip-build --root=/

The man-pages require python-docutils and can be built via:

rst2man docs/<input-file>.rst <output-file>

Repository:

License:

  • Apache-2.0
  • See LICENSE file for details.