diskimage-builder/releasenotes/notes/post-root-stage-51da051bcdfbc55f.yaml
Tobias Henkel eff5b2312b
Add a post-root.d phase
While trying to get docker image pre-caching to work we couldn't get a
docker daeomon to run within the chrooted environment. However we got
docker running with the help of bwrap outside of the chrooted
environment. The only option so far for this is the block-device.d
phase. But this has the problem that it runs after the image size has
been calculated. This leads to broken builds if the docker images
being pulled are big.

This can be solved by adding a post-root.d phase that runs outside the
chroot but before the image size calculation.

Change-Id: I36c2a81e2d9f5069f18ce5b0d52c5f1c7212c3ae
2018-10-19 10:33:56 +02:00

8 lines
313 B
YAML

---
features:
- |
A ``post-root`` stage is added that runs outside the chroot and
before the image size calculation. For example, this may be useful
for running things that copy much data into the image and need to be
outside of the chroot and after install stages which run inside the chroot.