diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 15:27:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 15:27:06 +0000 |
commit | 5290772e7e16bbe33d411fafcd6e2af5eeb73782 (patch) | |
tree | 60d4ba02d0b594b81846bc2627dfa20db27edbc1 /perl-install | |
parent | fd92c67cff4e4b3c9521c8f9b29bbde7e28edd0d (diff) | |
download | drakx-5290772e7e16bbe33d411fafcd6e2af5eeb73782.tar drakx-5290772e7e16bbe33d411fafcd6e2af5eeb73782.tar.gz drakx-5290772e7e16bbe33d411fafcd6e2af5eeb73782.tar.bz2 drakx-5290772e7e16bbe33d411fafcd6e2af5eeb73782.tar.xz drakx-5290772e7e16bbe33d411fafcd6e2af5eeb73782.zip |
do not keep previous partition UUID when changing partition type
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fsedit.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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); |