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

@ -556,6 +556,7 @@
"bootable": true,
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 3220176896,
"start": 1048576,
"type": "83",

View file

@ -169,4 +169,4 @@
}
}
}
}
}

View file

@ -517,6 +517,7 @@
"bootable": true,
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 3220176896,
"start": 1048576,
"type": "83",

View file

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

View file

@ -436,6 +436,7 @@
"bootable": true,
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 4293918720,
"start": 1048576,
"type": "83",

View file

@ -573,6 +573,7 @@
"bootable": true,
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 3220176896,
"start": 1048576,
"type": "83",

View file

@ -554,6 +554,7 @@
"bootable": true,
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 3220176896,
"start": 1048576,
"type": "83",

View file

@ -527,6 +527,7 @@
"bootable": true,
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 3220176896,
"start": 1048576,
"type": "83",

View file

@ -164,4 +164,4 @@
}
}
}
}
}

View file

@ -534,6 +534,7 @@
"bootable": true,
"fstype": "ext4",
"label": null,
"partuuid": "14fc63d2-01",
"size": 3220176896,
"start": 1048576,
"type": "83",

View file

@ -162,4 +162,4 @@
}
}
}
}
}