ogra@styx:~/Devel$ sudo ubuntu-image -c edge amd64-generic-model.assertion -o images/snappy/u-i-amd64.img
COMMAND FAILED: snap prepare-image --channel=edge amd64-generic-model.assertion /tmp/tmp77onoa5j/unpackerror: cannot decode model assertion "amd64-generic-model.assertion": assertion: "sign-key-sha3-384" header is mandatory
uncaught exception in state machine step: [1] prepare_image
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
step()
File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
snap(self.args.model_assertion, self.unpackdir, self.args.channel)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
run(cmd, env=env)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
proc.check_returncode()
File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'amd64-generic-model.assertion', '/tmp/tmp77onoa5j/unpack']' returned non-zero exit status 1
Crash in state machine
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ubuntu_image/__main__.py", line 110, in main
list(state_machine)
File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
step()
File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
snap(self.args.model_assertion, self.unpackdir, self.args.channel)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
run(cmd, env=env)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
proc.check_returncode()
File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'amd64-generic-model.assertion', '/tmp/tmp77onoa5j/unpack']' returned non-zero exit status 1
ogra@styx:~/Devel$ sudo ubuntu-image -c edge pi2-model.assertion -o images/snappy/u-i-pi2.img
COMMAND FAILED: snap prepare-image --channel=edge pi2-model.assertion /tmp/tmpek94sn4z/unpackerror: cannot decode model assertion "pi2-model.assertion": assertion: "sign-key-sha3-384" header is mandatory
uncaught exception in state machine step: [1] prepare_image
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
step()
File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
snap(self.args.model_assertion, self.unpackdir, self.args.channel)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
run(cmd, env=env)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
proc.check_returncode()
File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'pi2-model.assertion', '/tmp/tmpek94sn4z/unpack']' returned non-zero exit status 1
Crash in state machine
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ubuntu_image/__main__.py", line 110, in main
list(state_machine)
File "/usr/lib/python3/dist-packages/ubuntu_image/state.py", line 68, in __next__
step()
File "/usr/lib/python3/dist-packages/ubuntu_image/builder.py", line 138, in prepare_image
snap(self.args.model_assertion, self.unpackdir, self.args.channel)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 124, in snap
run(cmd, env=env)
File "/usr/lib/python3/dist-packages/ubuntu_image/helpers.py", line 105, in run
proc.check_returncode()
File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'pi2-model.assertion', '/tmp/tmpek94sn4z/unpack']' returned non-zero exit status 1