summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-03-15 19:56:26 +0000
committerStew Benedict <stewb@mandriva.org>2005-03-15 19:56:26 +0000
commit6026ccf19a651838544a1fd6ecddf6310d00f6fb (patch)
treec7b35371f402e085b8dc0d0044f5c9be3dd3bc00 /perl-install/pkgs.pm
parent80cc3f5b70913861c00475432ec9d1bab05ec2b0 (diff)
downloaddrakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar.gz
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar.bz2
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.tar.xz
drakx-6026ccf19a651838544a1fd6ecddf6310d00f6fb.zip
Install kernel-xbox on XBOX, bypass bootloader setup and eject call
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index b30ad3785..aa9e54d11 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -176,7 +176,7 @@ sub packageById {
sub analyse_kernel_name {
my $kernels = join('|', map { "-$_" }
'(p3|i586|i686)-(up|smp)-(1GB|4GB|64GB)',
- qw(enterprise secure smp multimedia multimedia-smp),
+ qw(enterprise secure smp multimedia multimedia-smp xbox),
);
my @l = $_[0] =~ /kernel[^\-]*($kernels)?(-([^\-]+))?$/ or return;
$l[0], $l[-1];
@@ -205,6 +205,7 @@ sub bestKernelPackage {
@kernels = @l;
}
my @prefered_exts =
+ is_xbox() ? '-xbox' :
detect_devices::is_i586() ? '-i586-up-1GB' :
detect_devices::BIGMEM() ? ('-enterprise', '-smp') :
detect_devices::hasSMP() ? '-smp' :