From c261a9b340e2982a49e055ea6332fd0f49f3d531 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 11 Sep 2013 12:24:51 -0700 Subject: [PATCH 68/89] libparted: copy pmbr_boot when duplicating GPT disk * libparted/labels/gpt.c (gpt_duplicate): copy pmbr_boot flag --- libparted/labels/gpt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c index dce89b1..6fd8880 100644 --- a/libparted/labels/gpt.c +++ b/libparted/labels/gpt.c @@ -566,6 +566,7 @@ gpt_duplicate (const PedDisk *disk) old_disk_data->data_area.length); new_disk_data->entry_count = old_disk_data->entry_count; new_disk_data->uuid = old_disk_data->uuid; + new_disk_data->pmbr_boot = old_disk_data->pmbr_boot; return new_disk; } -- 1.8.5.3