debian-forge-composer/internal
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
..
blueprint blueprint: move pipeline generation into its own package 2019-11-07 17:13:20 +01:00
crypt blueprint: add support for unencrypted passwords in user customization 2019-10-31 21:46:39 +01:00
distro distro: add DetectHost 2019-11-10 17:23:14 +01:00
jobqueue worker: move Job type to the jobqueue package 2019-10-29 16:08:54 +01:00
pipeline pipeline/stages: Add support for various stages defined in osbuild 2019-10-24 15:13:47 +02:00
rpmmd dnf-json: don't hard-code Fedora 30 2019-11-04 00:17:25 +01:00
store distro: add DetectHost 2019-11-10 17:23:14 +01:00
target pipeline/target: implement as variant types 2019-09-28 17:49:07 +02:00
weldr distro: add DetectHost 2019-11-10 17:23:14 +01:00