summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-06 20:07:55 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-06 20:07:55 +0000
commit70eb517f94c76c907ef7d1981a811b181269b772 (patch)
tree369f0053f3aefaf30f64a21fbb0b7a29a94fa07a /perl-install/standalone
parentc88a7900ae74f9786fd38d9e909650dda0b13321 (diff)
downloaddrakx-70eb517f94c76c907ef7d1981a811b181269b772.tar
drakx-70eb517f94c76c907ef7d1981a811b181269b772.tar.gz
drakx-70eb517f94c76c907ef7d1981a811b181269b772.tar.bz2
drakx-70eb517f94c76c907ef7d1981a811b181269b772.tar.xz
drakx-70eb517f94c76c907ef7d1981a811b181269b772.zip
only add formatted partitions in fstab (or else it will make subsequent boot fail)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakupdate_fstab2
1 files changed, 1 insertions, 1 deletions
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);