summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-08 10:36:43 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-08 10:36:43 +0000
commitbb67acc33287d88fe2bb786824ea898eb554bc82 (patch)
tree3166d70e2d0ffe7cdf7bf672c6b94cf0faff9dda /perl-install/install/any.pm
parente7a06ed6daeda017ce3c3bf6578c687068faa185 (diff)
downloaddrakx-backup-do-not-use-bb67acc33287d88fe2bb786824ea898eb554bc82.tar
drakx-backup-do-not-use-bb67acc33287d88fe2bb786824ea898eb554bc82.tar.gz
drakx-backup-do-not-use-bb67acc33287d88fe2bb786824ea898eb554bc82.tar.bz2
drakx-backup-do-not-use-bb67acc33287d88fe2bb786824ea898eb554bc82.tar.xz
drakx-backup-do-not-use-bb67acc33287d88fe2bb786824ea898eb554bc82.zip
(default_packages) install more packages earlier, preventing useless installing
steps later at summary stage also fix "program not found: grub-gfxmenu" error message while installing (which probably happens since we moved bootloader setup later, at summary)
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 8f90028c0..0a44e2872 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -548,6 +548,11 @@ sub default_packages {
push @l, 'cpufreq' if detect_devices::hasCPUFreq();
push @l, 'apmd' if -e "/proc/apm";
push @l, detect_devices::probe_name('Pkg');
+ push @l, map { $_->{BOOTPROTO} eq 'dhcp' ? $_->{DHCP_CLIENT} || 'dhcp-client' : () } values %{$o->{net}{ifcfg}};
+ # will get auto selected at summary stage for bootloader:
+ push @l, qw(acpi acpid mageia-gfxboot-theme);
+ # will get auto selected at summary stage for firewall:
+ push @l, qw(shorewall mandi-ifw);
my $dmi_BIOS = detect_devices::dmidecode_category('BIOS');
my $dmi_Base_Board = detect_devices::dmidecode_category('Base Board');