From 7dd49ba305d4d26ca06904de3f39031596de571c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 9 Sep 2001 16:11:33 +0000 Subject: - "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 --- perl-install/install_interactive.pm | 5 +++-- 1 file 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} = -- cgit v1.2.1