This speeds up iterative development of a vmdb specification file: the
output of qemu-debootstrap and the apt installation additinal packages
are cached. They take up most of the time of a full run. If modifying
other parts of raspi3.yaml, this means an iteration drops from about
20 minutes to 16 seconds on my laptop.
If making changes to the cached parts, the cache tarball needs to be
deleted between runs.
The --rootfs-tarball options MUST now be used on all invocations.
Add the kpartx step. It is now mandtory for building an image
file. (Not necessary if building on a real drive directly.)
Use only one set of tag names: boot-part and root-fs. vmdb2 has
changed so that partitions and mount points share the same tag name
space: there's no need to have a tag for the partition and for the
mount point for that partition, anymore. As part of that, there's no
need to specify both the partition tag for the root partition, and
then also the tag for the mount point for that partition.
ea7b9bc1d3e5de362b5edf12603ee83c708ad1a1 is the commit of vmdb2 that
this works with.
I can’t get an image built from any of the recent snapshot.debian.org
directories. Some file always can’t be found. Will need to take a closer look
and file a bug.