r2383 - glibc-package/branches/glibc-2.6/debian/script.in
Author: aurel32
Date: 2007-06-22 18:39:52 +0000 (Fri, 22 Jun 2007)
New Revision: 2383
Modified:
glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh
Log:
script.in/kernelcheck.sh: sort kernel version checks by reverse order
Modified: glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh
===================================================================
--- glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh 2007-06-22 18:37:23 UTC (rev 2382)
+++ glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh 2007-06-22 18:39:52 UTC (rev 2383)
@@ -84,6 +84,20 @@
fi
fi
+ # HPPA boxes require latest fixes in the kernel to function properly.
+ if [ "$realarch" = parisc ]
+ then
+ if linux_compare_versions "$kernel_ver" lt 2.6.9
+ then
+ echo WARNING: This version of glibc requires that you be running
+ echo kernel version 2.6.9 or later. Earlier kernels contained
+ echo bugs that may render the system unusable if a modern version
+ echo of glibc is installed.
+ kernel26_help
+ exit_check
+ fi
+ fi
+
# The GNU libc requires 2.6 kernel (except on m68k) because we drop to
# support linuxthreads
if [ "$realarch" != m68k ]
@@ -98,20 +112,6 @@
fi
fi
- # HPPA boxes require latest fixes in the kernel to function properly.
- if [ "$realarch" = parisc ]
- then
- if linux_compare_versions "$kernel_ver" lt 2.6.9
- then
- echo WARNING: This version of glibc requires that you be running
- echo kernel version 2.6.9 or later. Earlier kernels contained
- echo bugs that may render the system unusable if a modern version
- echo of glibc is installed.
- kernel26_help
- exit_check
- fi
- fi
-
# The GNU libc is now built with --with-kernel= >= 2.4.1 on m68k
if [ "$realarch" = m68k ]
then
Reply to: