summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/wic/utils/partitionedfs.py2
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",