Skip to content

openSUSE/obs-build

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vc
 
 

This repository provides the build tool to build binary packages in a a safe and reproducible way. It can be used standalone or within the Open Build Service (OBS).

Latest packages for obs-build are available from openSUSE:Tools downloads.

Documentation is available here

Supported build environments

Unsecure

  • chroot
  • LXC

Secure but with limited reproducibility

  • docker
  • nspawn

Secure and with full reproducibility

  • KVM
  • XEN
  • ZVM (S390)

Experimental support

In addition, there is currently experimental support for

For hardware emulation there are

  • qemu, which runs a QEMU system emulator inside of KVM. This can be considered also secure and reproducible.
  • The "emulator" VM can be used to run builds using any other emulator via a wrapper script.
  • A QEMU user land emulation is also possible. This would give higher speed, but requires a preparation inside of the base distribution for this mode.

Supported build formats

Major distribution package formats

Image formats

  • DockerfileDocker container via docker or podman tooling)
  • kiwi appliances—This includes a long list of formats supported by the kiwi tool From live USB stick images, network deployment images, VM images to docker containers
  • SUSE Product—SUSE product media builds
  • SimpleImagechroot tar ball based on rpm spec file syntax
  • Debian Livebuild
  • Preinstallimages—for speeding up builds esp. inside of OBS

Desktop Image formats

  • AppImage
  • FlatPak
  • Snapcraft

Special modes and formats

  • debbuild: build debian debs from rpm spec files
  • debbootstrap: debian builds using debootstrap as the engine
  • mock: rpm spec file build using mock
  • collax: debian package variation
  • fissile: docker images based on BOSH dev releases
  • helm: helm charts
  • modulemd: modulemd rpm-md extensions

Use the --help option for more information.