From 70eb517f94c76c907ef7d1981a811b181269b772 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 6 Apr 2008 20:07:55 +0000 Subject: only add formatted partitions in fstab (or else it will make subsequent boot fail) --- perl-install/NEWS | 4 ++++ perl-install/standalone/drakupdate_fstab | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 1d1bafd53..a1cb6c5ef 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,7 @@ +- drakupdate_fstab: + o only add formatted partitions in fstab (or else it will make + subsequent boot fail) + Version 10.29 - 3 April 2008 - service_harddrake: diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 051c706d6..05498a4ae 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -108,7 +108,7 @@ sub main { my $all_hds = fsedit::get_hds(); my $hd = find { fs::get::is_same_hd($_, $device) } fs::get::hds($all_hds); $hd or die "unable to find hd for $device->{device}"; - my @parts = grep { !fsedit::isSwap($_) } partition_table::get_normal_parts($hd); + my @parts = grep { !fsedit::isSwap($_) && fs::type::maybeFormatted($_) } partition_table::get_normal_parts($hd); configure_part($action, $_, 'hd') foreach @parts; } else { configure_part($action, $device, undef); -- cgit v1.2.1