From: Ed Bartosh Date: Tue, 2 Jun 2015 14:01:59 +0000 (+0300) Subject: wic: set legacy_boot flag for gpt partitions X-Git-Tag: 2015-10~1623 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3ec5e2892c5ee312c44f4425096450a1914ce44a;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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",