From 675d2b62098dd84c35c37944a1e8bd65114c37a1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Mar 2015 07:53:37 -0400 Subject: fix tagging LVM/raid as "linux filesystem" with GPT --- perl-install/c/stuff.xs.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/c') 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"); } -- cgit v1.2.1