[elbe-devel] [PATCH 0/3] qcow2 support for initvm

Olivier Dion dion at linutronix.de
Tue Jun 9 05:18:28 CEST 2020


This patchQ changes how the initvm images is created.  It's now
backend by a base image that can be shared with multiple guests.

I'm not sure why we used stamps in the Makefile, so I removed them
since I don't find them useful.  I also moved the logic of creating
the tmp-tree in Python, at the end of init.py, calling it initrd-tree.

I also don't know why the rules 'run' and 'run-con' exist.  I however
find them useful for debugging and left them there.

Olivier Dion (3):
  init Makefile.mako: Add COW logic for initvm
  commands init: Create initrd-tree
  init libvirt.xml.mako: Rename buildenv.img to initvm.img

 elbepack/commands/init.py      | 27 +++++++++++
 elbepack/init/Makefile.mako    | 89 +++++++++++++++++-----------------
 elbepack/init/libvirt.xml.mako |  2 +-
 3 files changed, 72 insertions(+), 46 deletions(-)

-- 
2.27.0




More information about the elbe-devel mailing list