diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-02 17:02:01 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:59:10 +0100 |
| commit | 76f503535f52ef535f312ce4accb076b2b2091a4 (patch) | |
| tree | 65657c43bbe592c750aac4516feba1b4787ac0eb /scripts/lib/wic/plugins/source/bootimg-pcbios.py | |
| parent | b7b3e4642c021a98463444a532eaae600a415244 (diff) | |
| download | poky-76f503535f52ef535f312ce4accb076b2b2091a4.tar.gz | |
wic: Add gpt to the list of supported partition table formats
Only msdos partition table format was supported by wic source
plugins.
(From OE-Core rev: 0e119d469796a19fbeae61a7162fd70660c936a5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-pcbios.py')
| -rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index 9c638554c0..c28b9af036 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
| @@ -100,7 +100,7 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
| 100 | kernel = "/vmlinuz" | 100 | kernel = "/vmlinuz" |
| 101 | syslinux_conf += "KERNEL " + kernel + "\n" | 101 | syslinux_conf += "KERNEL " + kernel + "\n" |
| 102 | 102 | ||
| 103 | if cr._ptable_format == 'msdos': | 103 | if cr._ptable_format in ('msdos', 'gpt'): |
| 104 | rootstr = rootdev | 104 | rootstr = rootdev |
| 105 | else: | 105 | else: |
| 106 | raise ImageError("Unsupported partition table format found") | 106 | raise ImageError("Unsupported partition table format found") |
