[12:29:27] mtrudel@demeter:~git/ubuntu-image G[m][ubuntu-image.git>master] $ ./ubuntu-image ~/Téléchargements/amd64-generic-model.assertion -d -o ../toto.img
DEBUG:ubuntu-image:-> [ 0] make_temporary_directories
DEBUG:ubuntu-image:-> [ 1] prepare_image
164.00 KB / 164.00 KB [=============================================================================================================================================] 100.00 % 2.15 MB/s
2016/09/01 12:32:52.923603 image.go:164: Cannot fetch and check prerequisites for the model assertion, it will not be copied into the image: assertion not found
Fetching pc
164.00 KB / 164.00 KB [=============================================================================================================================================] 100.00 % 2.33 MB/s
Fetching ubuntu-core
74.28 MB / 74.28 MB [===============================================================================================================================================] 100.00 % 3.90 MB/s
Fetching pc-kernel
110.19 MB / 110.19 MB [=============================================================================================================================================] 100.00 % 3.94 MB/s
DEBUG:ubuntu-image:-> [ 2] load_gadget_yaml
ERROR:ubuntu-image:uncaught exception in state machine step: [2] load_gadget_yaml
Traceback (most recent call last):
File "/home/mtrudel/workspace/git/ubuntu-image/ubuntu_image/state.py", line 68, in __next__
step()
File "/home/mtrudel/workspace/git/ubuntu-image/ubuntu_image/builder.py", line 150, in load_gadget_yaml
with open(yaml_file, 'r', encoding='utf-8') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp3dlu02my/unpack/gadget/meta/gadget.yaml'
ERROR:ubuntu-image:Crash in state machine
Traceback (most recent call last):
File "/home/mtrudel/workspace/git/ubuntu-image/ubuntu_image/__main__.py", line 118, in main
list(state_machine)
File "/home/mtrudel/workspace/git/ubuntu-image/ubuntu_image/state.py", line 68, in __next__
step()
File "/home/mtrudel/workspace/git/ubuntu-image/ubuntu_image/builder.py", line 150, in load_gadget_yaml
with open(yaml_file, 'r', encoding='utf-8') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp3dlu02my/unpack/gadget/meta/gadget.yaml'