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.
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 image:- > [ 0] make_temporary_ directories image:- > [ 1] prepare_gadget_tree image:- > [ 2] prepare_image image:- > [14] close
DEBUG:ubuntu-
DEBUG:ubuntu-
DEBUG:ubuntu-
(...)
DEBUG:ubuntu-
$ 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 gadget/ prime/ image:- > [ 0] make_temporary_ directories image:- > [ 1] prepare_gadget_tree image:- > [ 2] prepare_image image:- > [14] close
$ sudo ubuntu-image classic -d -p ubuntu-cpc pc-amd64-
DEBUG:ubuntu-
DEBUG:ubuntu-
DEBUG:ubuntu-
[2019-05-17 11:04:14] lb_config
P: Executing auto/config script.
(...)
DEBUG:ubuntu-
$ ls | grep img
pc.img
The resulting image seemed fine.