debian-forge-composer/cmd
Lars Karlitski f9cbc8593f distro: add DetectHost
lorax-composer uses the host's repositories for building images. This is
prone to accidental configuration errors and duplicates functionality
(adding custom repositories via the source API is much more explicit).

However, blueprints don't specify the distribution they're based on.
This is something they should do in the future to enable cross-distro
image builds. Until then, read `/etc/os-release` to detect the host OS
and use that as the base distro for a blueprint.

Detection works by concatenating the ID field with a `-` and the
VERSION_ID field. This mandates how additional distributions should
register themselves to the `distro` package.

If composer cannot build the detected distro, fall back to fedora-30.

Use this detection everywhere that fedora-30 was hard-coded before.
2019-11-10 17:23:14 +01:00
..
osbuild-composer dnf-json: don't hard-code Fedora 30 2019-11-04 00:17:25 +01:00
osbuild-pipeline distro: add DetectHost 2019-11-10 17:23:14 +01:00
osbuild-worker worker: move Job type to the jobqueue package 2019-10-29 16:08:54 +01:00