summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:34:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:34:57 +0000
commit6212a13d30cf4109af69dcaec7af84cb574298e9 (patch)
treea323ae43d81599b60116fb137bae62fb88a9fb55 /perl-install
parentc0d308b6de0ad1686a5c3072f3dfc09249924be1 (diff)
downloaddrakx-6212a13d30cf4109af69dcaec7af84cb574298e9.tar
drakx-6212a13d30cf4109af69dcaec7af84cb574298e9.tar.gz
drakx-6212a13d30cf4109af69dcaec7af84cb574298e9.tar.bz2
drakx-6212a13d30cf4109af69dcaec7af84cb574298e9.tar.xz
drakx-6212a13d30cf4109af69dcaec7af84cb574298e9.zip
(bestKernelPackage) while building a globetrotter, do not look for a
specific kernel favour
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index d1d22770e..43442db40 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -193,6 +193,7 @@ sub bestKernelPackage {
@kernels = @l;
}
my @preferred_exts =
+ $::build_globetrotter ? '' :
is_xbox() ? '-xbox' :
detect_devices::is_i586() ? '-i586-up-1GB' :
!detect_devices::has_cpu_flag('pae') ? ('-i686-up-4GB', '-i586-up-1GB') :
{
+ if (!$in->do_pkgs->install(Kernel22() ? "ipchains" : "iptables", "Bastille")) {
$in->ask_warn('', _("Failure installing the needed packages : %s and Bastille.
Try to install them manually.", Kernel22() ? "ipchains" : "iptables") );
$dialog->destroy;