Comment 6 for bug 1828827

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

Installed ubuntu-image 1.7+18.04ubuntu1 from bionic-proposed on a bionic multipass image and did a test build of an ubuntu-core 18 image:

$ ubuntu-image snap -d pc-amd64-18.model
DEBUG:ubuntu-image:-> [ 0] make_temporary_directories
DEBUG:ubuntu-image:-> [ 1] prepare_gadget_tree
DEBUG:ubuntu-image:-> [ 2] prepare_image
(...)
DEBUG:ubuntu-image:-> [14] close
$ ls | grep img
pc.img

The image then booted successfully on kvm. Then I performed an amd64 ubuntu-cpc classic ubuntu build:

$ rm pc.img
$ sudo ubuntu-image classic -d -p ubuntu-cpc pc-amd64-gadget/prime/
DEBUG:ubuntu-image:-> [ 0] make_temporary_directories
DEBUG:ubuntu-image:-> [ 1] prepare_gadget_tree
DEBUG:ubuntu-image:-> [ 2] prepare_image
[2019-05-17 11:04:14] lb_config
P: Executing auto/config script.
(...)
DEBUG:ubuntu-image:-> [14] close
$ ls | grep img
pc.img

The resulting image seemed fine.