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:55:37 +0100 |
commit | 3ec5e2892c5ee312c44f4425096450a1914ce44a (patch) | |
tree | 6fa4570b10ea046f83b6d79c02645d67eb196f41 /scripts | |
parent | ac782fe535855ed87f87c2c9e1e584bf0181378a (diff) | |
download | openembedded-core-3ec5e2892c5ee312c44f4425096450a1914ce44a.tar.gz openembedded-core-3ec5e2892c5ee312c44f4425096450a1914ce44a.tar.bz2 openembedded-core-3ec5e2892c5ee312c44f4425096450a1914ce44a.zip |
wic: set legacy_boot flag for gpt partitions
This flag is used to tell special purpose software that
the GPT partition may be bootable.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-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: parted_fs_type, p['start'], p['size']) if p['boot']: - flag_name = "boot" + flag_name = "legacy_boot" if d['ptable_format'] == 'gpt' else "boot" msger.debug("Set '%s' flag for partition '%s' on disk '%s'" % \ (flag_name, p['num'], d['disk'].device)) self.__run_parted(["-s", d['disk'].device, "set", |