diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-20 16:58:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-20 16:58:31 +0000 |
commit | c598932f0a65ae9ca78a91e1015fe5638539be75 (patch) | |
tree | 2343c497f0e71238a0291088e4f4b0d864a8f4eb /perl-install/fs/format.pm | |
parent | 586fa375f90a241fc3cadfd1760982492b62e020 (diff) | |
download | drakx-c598932f0a65ae9ca78a91e1015fe5638539be75.tar drakx-c598932f0a65ae9ca78a91e1015fe5638539be75.tar.gz drakx-c598932f0a65ae9ca78a91e1015fe5638539be75.tar.bz2 drakx-c598932f0a65ae9ca78a91e1015fe5638539be75.tar.xz drakx-c598932f0a65ae9ca78a91e1015fe5638539be75.zip |
- when reformatting swap, keep existing UUID (#38877)
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r-- | perl-install/fs/format.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 6757cf0ea..90f6cc89a 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -96,6 +96,8 @@ sub part_raw { push @options, '-l', "Untitled"; } elsif (isAppleBootstrap($part)) { push @options, '-l', 'bootstrap'; + } elsif ($fs_type eq 'swap') { + push @options, '-U', $part->{device_UUID} if $part->{device_UUID}; } if ($part->{device_LABEL}) { |