Blame SOURCES/parted-3.0-libparted-copy-pmbr_boot-when-duplicating-GPT-disk.patch

fc4a62
From 43663f1226da0a6284b5f52f6e2f741473c077b6 Mon Sep 17 00:00:00 2001
fc4a62
From: "Brian C. Lane" <bcl@redhat.com>
fc4a62
Date: Fri, 3 Feb 2012 13:03:27 -0800
fc4a62
Subject: [PATCH] libparted: copy pmbr_boot when duplicating GPT disk
fc4a62
fc4a62
* libparted/labels/gpt.c (gpt_duplicate): copy pmbr_boot flag
fc4a62
---
fc4a62
 libparted/labels/gpt.c |    1 +
fc4a62
 1 files changed, 1 insertions(+), 0 deletions(-)
fc4a62
fc4a62
diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c
fc4a62
index bad9ed4..0f07250 100644
fc4a62
--- a/libparted/labels/gpt.c
fc4a62
+++ b/libparted/labels/gpt.c
fc4a62
@@ -562,6 +562,7 @@ gpt_duplicate (const PedDisk *disk)
fc4a62
                      old_disk_data->data_area.length);
fc4a62
   new_disk_data->entry_count = old_disk_data->entry_count;
fc4a62
   new_disk_data->uuid = old_disk_data->uuid;
fc4a62
+  new_disk_data->pmbr_boot = old_disk_data->pmbr_boot;
fc4a62
   return new_disk;
fc4a62
 }
fc4a62
 
fc4a62
-- 
fc4a62
1.7.6.5
fc4a62