⟫ ubuntu-image -c edge -o pc-amd64-edge.img --image-size 3G amd64.model
Fetching core
Fetching pc-kernel
Fetching pc
COMMAND FAILED: mkfs.ext4 -L writable -T default -O uninit_bg /tmp/tmpnf3_2jwd/.images/root.img
mke2fs 1.42.13 (17-May-2015)
Invalid filesystem option set: has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
Crash in state machine
Traceback (most recent call last):
File "/snap/ubuntu-image/39/lib/python3.5/site-packages/ubuntu_image/__main__.py", line 158, in main
list(state_machine)
File "/snap/ubuntu-image/39/lib/python3.5/site-packages/ubuntu_image/state.py", line 73, in __next__
step()
File "/snap/ubuntu-image/39/lib/python3.5/site-packages/ubuntu_image/builder.py", line 372, in populate_filesystems
mkfs_ext4(self.root_img, self.rootfs)
File "/snap/ubuntu-image/39/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 153, in mkfs_ext4
run('mkfs.ext4 -L {} -T default -O uninit_bg {}'.format(label, img_file))
File "/snap/ubuntu-image/39/lib/python3.5/site-packages/ubuntu_image/helpers.py", line 97, in run
proc.check_returncode()
File "/snap/ubuntu-image/39/usr/lib/python3.5/subprocess.py", line 659, in check_returncode
self.stderr)
subprocess.CalledProcessError: Command '['mkfs.ext4', '-L', 'writable', '-T', 'default', '-O', 'uninit_bg', '/tmp/tmpnf3_2jwd/.images/root.img']' returned non-zero exit status 1