From e94b108c2f253ada585f3b9f2323a6ccf6787ea0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Sep 2008 14:32:28 +0000 Subject: - diskdrake o keep current UUID when formatting ext2/ext3 (was already done for swap), so that fstab on other distros continue to work (requires e2fsprogs-1.41.1-2mnb2) --- perl-install/NEWS | 5 +++++ perl-install/fs/format.pm | 2 +- perl-install/install/NEWS | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 36bdb2b20..9b132f0b2 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,8 @@ +- diskdrake + o keep current UUID when formatting ext2/ext3 (was already done for swap), + so that fstab on other distros continue to work + (requires e2fsprogs-1.41.1-2mnb2) + Version 11.38 - 8 September 2008 - diskdrake diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 90f6cc89a..101ea4b80 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -96,7 +96,7 @@ sub part_raw { push @options, '-l', "Untitled"; } elsif (isAppleBootstrap($part)) { push @options, '-l', 'bootstrap'; - } elsif ($fs_type eq 'swap') { + } elsif (member($fs_type, 'swap', 'ext2', 'ext3')) { push @options, '-U', $part->{device_UUID} if $part->{device_UUID}; } diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 5a2891b57..2134b777f 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,7 @@ +- keep current UUID when formatting ext2/ext3 (was already done for swap), + so that fstab on other distros continue to work + (requires e2fsprogs-1.41.1-2mnb2) + Version 11.38 - 8 September 2008 - do not size radio button that have a label thus preventing uneeded horizontal -- cgit v1.2.1