From 3ec5e2892c5ee312c44f4425096450a1914ce44a Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 2 Jun 2015 17:01:59 +0300 Subject: 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 --- scripts/lib/wic/utils/partitionedfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/wic/utils/partitionedfs.py') 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", -- cgit 1.2.3-korg