summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-14 08:56:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-14 08:56:24 +0000
commit053cb6bcaed204f91792b79bf70b9960a8e0a972 (patch)
tree0da7c8e34d16799b4031d38f7e9d793b328e1bfa /perl-install/fsedit.pm
parent0c4ccdb8e5ad6531d625439822d0b3eca5b6ca8b (diff)
downloaddrakx-backup-do-not-use-053cb6bcaed204f91792b79bf70b9960a8e0a972.tar
drakx-backup-do-not-use-053cb6bcaed204f91792b79bf70b9960a8e0a972.tar.gz
drakx-backup-do-not-use-053cb6bcaed204f91792b79bf70b9960a8e0a972.tar.bz2
drakx-backup-do-not-use-053cb6bcaed204f91792b79bf70b9960a8e0a972.tar.xz
drakx-backup-do-not-use-053cb6bcaed204f91792b79bf70b9960a8e0a972.zip
- ensure {is_removable} field is there for created partitions, not only existing partitions
- it breaks Create(), fixing
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 37c6b7dd9..89dc2a090 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -248,7 +248,7 @@ sub read_proc_partitions {
} else {
$dev = $part->{dev};
if (my $hd = find { $part->{dev} =~ /^$_->{device}./ } @$hds) {
- $part->{rootDevice} = $hd->{device};
+ put_in_hash($part, partition_table::hd2minimal_part($hd));
}
}
undef $prev_part if $prev_part && ($prev_part->{rootDevice} || '') ne ($part->{rootDevice} || '');