2013-08-28 16:13:40 +00:00
|
|
|
From f29ccfe5b9639d8626db50e9f4ecbe10d6cd7736 Mon Sep 17 00:00:00 2001
|
2012-02-03 22:31:21 +00:00
|
|
|
From: "Brian C. Lane" <bcl@redhat.com>
|
|
|
|
Date: Fri, 3 Feb 2012 13:03:27 -0800
|
2013-08-28 16:13:40 +00:00
|
|
|
Subject: [PATCH 53/69] libparted: copy pmbr_boot when duplicating GPT disk
|
2012-02-03 22:31:21 +00:00
|
|
|
|
|
|
|
* libparted/labels/gpt.c (gpt_duplicate): copy pmbr_boot flag
|
|
|
|
---
|
2013-08-28 16:13:40 +00:00
|
|
|
libparted/labels/gpt.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
2012-02-03 22:31:21 +00:00
|
|
|
|
|
|
|
diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c
|
2013-08-28 16:13:40 +00:00
|
|
|
index 490de70..25490af 100644
|
2012-02-03 22:31:21 +00:00
|
|
|
--- a/libparted/labels/gpt.c
|
|
|
|
+++ b/libparted/labels/gpt.c
|
2013-08-28 16:13:40 +00:00
|
|
|
@@ -556,6 +556,7 @@ gpt_duplicate (const PedDisk *disk)
|
2012-02-03 22:31:21 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2013-08-28 16:13:40 +00:00
|
|
|
1.8.3.1
|
2012-02-03 22:31:21 +00:00
|
|
|
|