Comment 5 for bug 1730642

Revision history for this message
Ɓukasz Zemczak (sil2100) wrote :

You can invoke ubuntu-image for a classic image build right now. Yes, you need a specific gadget tree, but it doesn't require any additional special infrastructure to get such a gadget tree prepared. For instance, for testing purposes we already use a custom gadget tree that's available https://github.com/sil2100/pc-amd64-gadget . I would not like to block 1.2 on something that is not required for ubuntu-image to work. Yes, it would be more convenient to have livecd-rootfs do the gadget tree setup for people, but ubuntu-image is designed such that one can just run it by hand with a selected gadget tree and get the resulting image.

For instance, with the current livecd-rootfs you get a working classic image if you run this:
sudo ./ubuntu-image classic --project ubuntu-cpc https://github.com/sil2100/pc-amd64-gadget.git

I see it this way: for snap-based images we also don't require people to run ubuntu-image through livecd-rootfs, manually you also have to somehow 'fetch' by yourself a fitting model assertion and feed it to the command. In this case you need to give it a specific gadget tree, but that's all doable.