summaryrefslogtreecommitdiffstats
path: root/perl-install/install_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-09 16:11:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-09 16:11:33 +0000
commit7dd49ba305d4d26ca06904de3f39031596de571c (patch)
treebde1b049b303bb1e993286faccd0202513dd5974 /perl-install/install_interactive.pm
parent78382f9f2a2ffaa94ec6fc282b7451bbb58d1a54 (diff)
downloaddrakx-backup-do-not-use-7dd49ba305d4d26ca06904de3f39031596de571c.tar
drakx-backup-do-not-use-7dd49ba305d4d26ca06904de3f39031596de571c.tar.gz
drakx-backup-do-not-use-7dd49ba305d4d26ca06904de3f39031596de571c.tar.bz2
drakx-backup-do-not-use-7dd49ba305d4d26ca06904de3f39031596de571c.tar.xz
drakx-backup-do-not-use-7dd49ba305d4d26ca06904de3f39031596de571c.zip
- "Wizard" and "More" are back
- allow "Use for loopback" when there is already a loopback - set the options on newly created partitions - recompute_loopbacks called after modification of loopbacks, no more before reading - restrict the lenght of the lines in partition description - make loopback work
Diffstat (limited to 'perl-install/install_interactive.pm')
-rw-r--r--perl-install/install_interactive.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm
index b63c3a0cf..f24046baa 100644
--- a/perl-install/install_interactive.pm
+++ b/perl-install/install_interactive.pm
@@ -99,8 +99,9 @@ sub partitionWizardSolutions {
{ label => _("Swap partition size in MB: "), val => \$s_swap, min => $min_swap >> 11, max => $max_swap >> 11, type => 'range' },
]) or return;
push @{$part->{loopback}},
- { type => 0x83, loopback_file => '/lnx4win/linuxsys.img', mntpoint => '/', size => $s_root << 11, device => $part, notFormatted => 1 },
- { type => 0x82, loopback_file => '/lnx4win/swapfile', mntpoint => 'swap', size => $s_swap << 11, device => $part, notFormatted => 1 };
+ { type => 0x83, loopback_file => '/lnx4win/linuxsys.img', mntpoint => '/', size => $s_root << 11, loopback_device => $part, notFormatted => 1 },
+ { type => 0x82, loopback_file => '/lnx4win/swapfile', mntpoint => 'swap', size => $s_swap << 11, loopback_device => $part, notFormatted => 1 };
+ fsedit::recompute_loopbacks($all_hds);
1;
} ];
$solutions{resize_fat} =