On an x86_64 Linux host, a --from base made from a Debian image (node:24)
booted Debian's cloud kernel, which has no 9p (CONFIG_NET_9P is not set).
Lima mounts with nofail, so every mount was an empty folder, and the
shared tools' build VM failed at `cd /mnt/devvm-tools/.build`. Not a race
and not nesting: it fails every time on that image, on the Debian 13 KVM
guest and on bare-metal Fedora alike.
- assets/oci/bootify.sh: Debian gets linux-image-$arch on every
architecture (the generic kernel, already used on arm64 for gpio_keys),
and net.ifnames=0 on its kernel command line: with the generic kernel
udev's enp0s4 came up from Lima's MAC match before cloud-init's rename
to eth0, which failed as busy and stopped its init stage, leaving no
ssh host keys.
- assets/shared-tools/build.sh: wait_share waits up to 60 s for
.build/mise.lock, mounting the folder again from fstab while it isn't
mounted, then fails naming the folder and mount's last error.
- tools.txtar: wait_share there at once, mounted late, never mounted.
- docs: internals/images.md (the wait), internals/design.md (the cloud
kernel's missing 9p, the rename).
Both scripts are in image keys: --from bases and every tool image
rebuild.
Co-Authored-By: Claude Opus 5.5 <[email protected]>