Mageia Bugzilla – Attachment 6533 Details for
Bug 15919
Live installer goes into error loop after detecting insufficient space on selected root partition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
prevent a crash
15919-fix.diff (text/plain), 863 bytes, created by
Thierry Vignaud
on 2015-05-13 14:00:03 CEST
(
hide
)
Description:
prevent a crash
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-05-13 14:00:03 CEST
Size:
863 bytes
patch
obsolete
>diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm >index 4a90789..14cea12 100644 >--- a/perl-install/fs/partitioning_wizard.pm >+++ b/perl-install/fs/partitioning_wizard.pm >@@ -557,7 +557,9 @@ sub main { > display_choices($o, $contentbox, $mainw, %solutions); > > $combobox->signal_connect("changed", sub { >- $mainw->{kind} = $kinds[$combobox->get_active]; >+ my $curr = $kinds[$combobox->get_active]; >+ return if !$curr; >+ $mainw->{kind} = $curr; > my %solutions = partitionWizardSolutions($o, $all_hds, $fstab, $manual_fstab, $partitions, $partitioning_flags, $skip_mtab, diskdrake::hd_gtk::kind2hd($mainw->{kind})); > delete $solutions{diskdrake} if $b_nodiskdrake; > display_choices($o, $contentbox, $mainw, %solutions);
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index 4a90789..14cea12 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -557,7 +557,9 @@ sub main { display_choices($o, $contentbox, $mainw, %solutions); $combobox->signal_connect("changed", sub { - $mainw->{kind} = $kinds[$combobox->get_active]; + my $curr = $kinds[$combobox->get_active]; + return if !$curr; + $mainw->{kind} = $curr; my %solutions = partitionWizardSolutions($o, $all_hds, $fstab, $manual_fstab, $partitions, $partitioning_flags, $skip_mtab, diskdrake::hd_gtk::kind2hd($mainw->{kind})); delete $solutions{diskdrake} if $b_nodiskdrake; display_choices($o, $contentbox, $mainw, %solutions);
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15919
:
6532
| 6533 |
6540