diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-02 17:01:59 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:59:10 +0100 |
| commit | 0a13707513e3a4945dcbb09843fa959ebca240ee (patch) | |
| tree | c4784dda1105be1e5a19b0711e08178c39c06c47 /scripts/lib | |
| parent | e5a11759d8d6f15191167ab1f3ffb3db8b6715aa (diff) | |
| download | poky-0a13707513e3a4945dcbb09843fa959ebca240ee.tar.gz | |
wic: set legacy_boot flag for gpt partitions
This flag is used to tell special purpose software that
the GPT partition may be bootable.
(From OE-Core rev: 3ec5e2892c5ee312c44f4425096450a1914ce44a)
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')
| -rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index 1c9e3eab58..06d4eac0e5 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py | |||
| @@ -312,7 +312,7 @@ class Image: | |||
| 312 | parted_fs_type, p['start'], p['size']) | 312 | parted_fs_type, p['start'], p['size']) |
| 313 | 313 | ||
| 314 | if p['boot']: | 314 | if p['boot']: |
| 315 | flag_name = "boot" | 315 | flag_name = "legacy_boot" if d['ptable_format'] == 'gpt' else "boot" |
| 316 | msger.debug("Set '%s' flag for partition '%s' on disk '%s'" % \ | 316 | msger.debug("Set '%s' flag for partition '%s' on disk '%s'" % \ |
| 317 | (flag_name, p['num'], d['disk'].device)) | 317 | (flag_name, p['num'], d['disk'].device)) |
| 318 | self.__run_parted(["-s", d['disk'].device, "set", | 318 | self.__run_parted(["-s", d['disk'].device, "set", |
