summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 8188fa87f..6794899f7 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -181,8 +181,11 @@ sub beforeInstallPackages {
sub installPackages($$) {
my ($o, $packages) = @_;
- my $toInstall = [ grep { $_->{selected} && !$_->{installed} } values %$packages ];
- pkgs::install($o->{prefix}, $toInstall);
+ #- my $toInstall = [ grep { $_->{selected} && !$_->{installed} } values %$packages ];
+ my @toInstall = $packages->{basesystem}{selected} && !$packages->{basesystem}{installed} ? ($packages->{basesystem}) : ();
+ push @toInstall, grep { $_->{base} && $_->{selected} && !$_->{installed} } values %$packages;
+ push @toInstall, grep { !$_->{base} && $_->{selected} && !$_->{installed} } values %$packages;
+ pkgs::install($o->{prefix}, \@toInstall);
}
sub afterInstallPackages($) {