diff options
Diffstat (limited to 'scripts/lib/mic/plugins/source/bootimg-efi.py')
| -rw-r--r-- | scripts/lib/mic/plugins/source/bootimg-efi.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/mic/plugins/source/bootimg-efi.py b/scripts/lib/mic/plugins/source/bootimg-efi.py index 95e1c059b9..d4a777198f 100644 --- a/scripts/lib/mic/plugins/source/bootimg-efi.py +++ b/scripts/lib/mic/plugins/source/bootimg-efi.py | |||
| @@ -78,9 +78,7 @@ class BootimgEFIPlugin(SourcePlugin): | |||
| 78 | if cr._ptable_format == 'msdos': | 78 | if cr._ptable_format == 'msdos': |
| 79 | rootstr = rootdev | 79 | rootstr = rootdev |
| 80 | else: | 80 | else: |
| 81 | if not root_part_uuid: | 81 | raise MountError("Unsupported partition table format found") |
| 82 | raise MountError("Cannot find the root GPT partition UUID") | ||
| 83 | rootstr = "PARTUUID=%s" % root_part_uuid | ||
| 84 | 82 | ||
| 85 | grubefi_conf += "linux %s root=%s rootwait %s\n" \ | 83 | grubefi_conf += "linux %s root=%s rootwait %s\n" \ |
| 86 | % (kernel, rootstr, options) | 84 | % (kernel, rootstr, options) |
