summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-27 07:53:37 -0400
committerThomas Backlund <tmb@mageia.org>2015-03-27 22:32:56 +0159
commit675d2b62098dd84c35c37944a1e8bd65114c37a1 (patch)
tree9325f9eced2315c16560a5c7d666494251e6c529 /perl-install/c
parent22350abfdb8e85c05aba5f22278e76a02bc336f2 (diff)
downloaddrakx-675d2b62098dd84c35c37944a1e8bd65114c37a1.tar
drakx-675d2b62098dd84c35c37944a1e8bd65114c37a1.tar.gz
drakx-675d2b62098dd84c35c37944a1e8bd65114c37a1.tar.bz2
drakx-675d2b62098dd84c35c37944a1e8bd65114c37a1.tar.xz
drakx-675d2b62098dd84c35c37944a1e8bd65114c37a1.zip
fix tagging LVM/raid as "linux filesystem" with GPT
Diffstat (limited to 'perl-install/c')
-rwxr-xr-xperl-install/c/stuff.xs.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index e2ab22475..7f12bcc26 100755
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -122,6 +122,10 @@ PedPartitionFlag string_to_pedpartflag(char*type) {
PedPartitionFlag flag = 0;
if (!strcmp(type, "ESP")) {
flag = PED_PARTITION_ESP;
+ } else if (!strcmp(type, "LVM")) {
+ flag = PED_PARTITION_LVM;
+ } else if (!strcmp(type, "RAID")) {
+ flag = PED_PARTITION_RAID;
} else {
printf("set_partition_flag: unknown type");
}