Commit graph

9 commits

Author SHA1 Message Date
Tom Gundersen
cdcfa1277e osbuild: make state handling generic
Rather than treating the dnf-cache specially, give each stage its
own state directory that they can reuse. This should obviously be
used with care by the stages in order to make the builds
reproducible.
2019-06-06 19:37:49 +02:00
Tom Gundersen
d557784c8c osbuild: do not set up API VFS in the target tree
Some stages will be chrooting into the target to run things there,
and they will require the standard API VFS to be mounted. Some
tools do that themselves, other do not. In all cases, we would like
to discourage running things in the target tree.

For these reasons do not pre-mount the API VFS, but require the
stages who need it to do the mounting themselves. This is a partial
revert of f6023ed78b.
2019-06-06 16:52:03 +02:00
Lars Karlitski
a04ec2c4b0 Add some more stages 2019-06-05 17:29:08 +02:00
Lars Karlitski
f6023ed78b Bind-mount vfs directories for each stage
Many of the stages need it anyway.
2019-05-06 00:23:56 +02:00
Lars Karlitski
61a59b7ad0 dnf: Simplify writing dnf.conf
Every stage gets its own private /tmp. There's no need to find unique
names or cleaning up.
2019-05-05 23:54:07 +02:00
Lars Karlitski
3a3c35ba99 anaconda: Remove unused import 2019-05-05 23:33:21 +02:00
Lars Karlitski
c6e45d4357 Add io.weldr.qcow2
A stage that makes a bootable .qcow2 image out of the tree.
2019-04-09 18:43:21 +02:00
Lars Karlitski
a1d9272866 Add io.weldr.ansible
Run an Ansible playbook on the tree, using Ansible's chroot connection
type.
2019-04-09 16:57:25 +02:00
Lars Karlitski
ae1afef209 osbuild 2019-04-08 13:03:13 +02:00