image-info: support images with empty partitions

Official RHEL EC2 images come with an empty partition, simply ignore
it rather than fail.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2019-11-24 16:41:31 +01:00
parent e73b43162d
commit eee08c41ac
12 changed files with 18 additions and 8 deletions

View file

@ -381,6 +381,7 @@
"bootable": false,
"fstype": "ext4",
"label": null,
"partuuid": null,
"size": 0,
"start": 0,
"type": null,