Imagecraft 1.1 is out, and it has some interesting features:
- The tool now uses a FUSE backend to access image partitions. See below for the fine print.
- Since the loopback device is no longer used, it is now possible to use a lightweight LXD container as a build environment.
- An official, dedicated GitHub Action is available. Create your disk images right away with
canonical/craft-actions/imagecraft/pack.
FUSE-based partition access no longer requires loopback devices, making it possible to skip a full VM environment, but does have an important side effect. Partitions will be represented as regular files, not block devices. Given the UNIX philosophy that “everything is a file”, most things should work as expected. Please let us know if something does not. However, any scripts that were using /dev/loopX previously will have to be updated to rely on the volume environment variables.
And there are more things you may want to read about in the release notes document.
Links: