From 5290772e7e16bbe33d411fafcd6e2af5eeb73782 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Sep 2008 15:27:06 +0000 Subject: do not keep previous partition UUID when changing partition type --- perl-install/fsedit.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index f2c363127..95e5937c1 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -547,6 +547,7 @@ sub change_type { my ($type, $hd, $part) = @_; $type->{pt_type} != $part->{pt_type} || $type->{fs_type} ne $part->{fs_type} or return; fs::type::check($type->{fs_type}, $hd, $part); + delete $part->{device_UUID}; $hd->{isDirty} = 1; $part->{mntpoint} = '' if isSwap($part) && $part->{mntpoint} eq "swap"; $part->{mntpoint} = '' if isRawLVM($type) || isRawRAID($type); -- cgit v1.2.1