summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-26 08:55:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-26 08:55:56 +0000
commitf57ee519a6f10d77e7e474959b3e3a521602c2e5 (patch)
treef8c11379d26b6deb61546f774502d9a9477bf40a /kernel
parenta0e82bd669ded97f6b13ad2213849c35ffbc41ed (diff)
downloaddrakx-backup-do-not-use-f57ee519a6f10d77e7e474959b3e3a521602c2e5.tar
drakx-backup-do-not-use-f57ee519a6f10d77e7e474959b3e3a521602c2e5.tar.gz
drakx-backup-do-not-use-f57ee519a6f10d77e7e474959b3e3a521602c2e5.tar.bz2
drakx-backup-do-not-use-f57ee519a6f10d77e7e474959b3e3a521602c2e5.tar.xz
drakx-backup-do-not-use-f57ee519a6f10d77e7e474959b3e3a521602c2e5.zip
main kernel should be i586-up-1GB to run on C3 (bugzilla #13206)
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/update_kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index 01b1bca66..3d14be186 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -37,7 +37,7 @@ sub rpm2version {
sub update_kernel_from_repository {
my ($RPMS, $main_ver, $is_BOOT) = @_;
- my $rpm_wildcard = 'kernel-' . ($is_BOOT ? 'BOOT-' : '') . $main_ver . '*.rpm';
+ my $rpm_wildcard = 'kernel-' . ($is_BOOT ? 'BOOT-' : 'i586-up-1GB-') . $main_ver . '*.rpm';
my ($kernel_rpm) = my @kernels = glob("$RPMS/$rpm_wildcard");
@kernels <= 1 or die "more than one kernel match $rpm_wildcard";
@kernels >= 1 or return; # die "no kernel match $rpm_wildcard";