ALT Linux Bugzilla
– Attachment 5639 Details for
Bug 27991
обеспечить создание EFI System Partition
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
actual bcaee84ee84a13cb1024672197d744aba0ddbcc6
0001-add-EFI_SYSTEM_PARTITION-to-type-list.patch (text/plain), 1.87 KB, created by
Michael Shigorin
on 2012-11-17 01:41:33 MSK
(
hide
)
Description:
actual bcaee84ee84a13cb1024672197d744aba0ddbcc6
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2012-11-17 01:41:33 MSK
Size:
1.87 KB
patch
obsolete
>From bcaee84ee84a13cb1024672197d744aba0ddbcc6 Mon Sep 17 00:00:00 2001 >From: Timur Aitov <timonbl4@altlinux.org> >Date: Fri, 16 Nov 2012 16:53:32 +0400 >Subject: [PATCH 1/2] add EFI_SYSTEM_PARTITION to type list > >--- > plugins/gpt/gptsegmgr.c | 2 ++ > plugins/gpt/options.c | 1 + > 2 files changed, 3 insertions(+) > >diff --git a/plugins/gpt/gptsegmgr.c b/plugins/gpt/gptsegmgr.c >index 9ba430d..bbe3e1c 100644 >--- a/plugins/gpt/gptsegmgr.c >+++ b/plugins/gpt/gptsegmgr.c >@@ -1359,6 +1359,7 @@ static int GetCreateOptions( option_array_t * options, > > case SEG_CREATE_OPTION_TYPE_INDEX: > if (strcmp(options->option[i].value.s, BIOS_BOOT_PARTITION_STRING) == 0) *ptype = bios_boot_partition; >+ else if (strcmp(options->option[i].value.s, EFI_SYSTEM_PARTITION_STRING) == 0) *ptype = efi_system_partition; > break; > > default: >@@ -1377,6 +1378,7 @@ static int GetCreateOptions( option_array_t * options, > } > else if (strcmp(options->option[i].name, SEG_CREATE_OPTION_TYPE_NAME) == 0) { > if (strcmp(options->option[i].value.s, BIOS_BOOT_PARTITION_STRING) == 0) *ptype = bios_boot_partition; >+ else if (strcmp(options->option[i].value.s, EFI_SYSTEM_PARTITION_STRING) == 0) *ptype = efi_system_partition; > } > > } >diff --git a/plugins/gpt/options.c b/plugins/gpt/options.c >index 39330cb..3f6b747 100644 >--- a/plugins/gpt/options.c >+++ b/plugins/gpt/options.c >@@ -43,6 +43,7 @@ typedef struct gpt_partition_info_s { > > static const gpt_partition_info_t gpt_partition_info[] = > { >+ { EFI_SYSTEM_PARTITION_STRING, 1}, > { BASIC_DATA_PARTITION_STRING, 2}, > // {"legacy mbr", 3}, > // {"swap", 4}, >-- >1.7.12.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27991
:
5638
| 5639