]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Split up --base-image into --base-tree and --overlay 1468/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Apr 2023 10:46:04 +0000 (12:46 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 21 Apr 2023 11:04:48 +0000 (13:04 +0200)
commita94a8b732206a760805450414deec35fb6232ed6
treec6d81a3fd74338d0bca39bbb6208585df9ff451f
parent54efef064a251d83cbc68466b8121f32d7602a8e
Split up --base-image into --base-tree and --overlay

--base-tree indicates a base image. It differs from --skeleton-tree
in that use of --base-tree indicates that we've already installed a
distribution and should only install extra packages, not install the
distribution from scratch.

If --overlay is not specified, we just copy all the specified base trees
to the root directory before doing anything else (even before copying the
skeleton trees) and after that we operate as usual.

If --overlay is specified, instead of copying all the base trees to
the root directory, we set up an overlayfs mount with all the base
trees as lowerdirs. After that we operate as usual. The effect is that
all our usual steps will operate on a full view of the image, but the
output will only contain the additions we made on top of the specified
base trees.
NEWS.md
action.yaml
mkosi.md
mkosi/__init__.py
mkosi/backend.py
mkosi/config.py
mkosi/manifest.py
mkosi/mounts.py