r6728 - in glibc-package/trunk/debian: . debhelper.in
Author: aurel32
Date: 2015-12-01 22:49:26 +0000 (Tue, 01 Dec 2015)
New Revision: 6728
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/debhelper.in/libc.preinst
Log:
debhelper.in/libc.preinst: drop outdated code about pre-2.6 kernels.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2015-12-01 22:32:37 UTC (rev 6727)
+++ glibc-package/trunk/debian/changelog 2015-12-01 22:49:26 UTC (rev 6728)
@@ -1,6 +1,7 @@
glibc (2.21-2) UNRELEASED; urgency=medium
- *
+ [ Aurelien Jarno ]
+ * debhelper.in/libc.preinst: drop outdated code about pre-2.6 kernels.
-- Aurelien Jarno <aurel32@debian.org> Tue, 01 Dec 2015 21:15:13 +0100
Modified: glibc-package/trunk/debian/debhelper.in/libc.preinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.preinst 2015-12-01 22:32:37 UTC (rev 6727)
+++ glibc-package/trunk/debian/debhelper.in/libc.preinst 2015-12-01 22:49:26 UTC (rev 6728)
@@ -28,15 +28,6 @@
test $verA -$2 $verB
}
-kernel26_help() {
- echo ""
- echo "The installation of a 2.6 kernel _could_ ask you to install a new libc"
- echo "first, this is NOT a bug, and should *NOT* be reported. In that case,"
- echo "please add lenny sources to your /etc/apt/sources.list and run:"
- echo " apt-get install -t lenny linux-image-2.6"
- echo "Then reboot into this new kernel, and proceed with your upgrade"
-}
-
# Sanity check.
# If there are versions of glibc outside of the normal installation
# location (/lib, /lib64, etc.) then things may break very badly
@@ -324,18 +315,6 @@
exit 1
fi
- if [ -n "$LD_ASSUME_KERNEL" ] ; then
- if dpkg --compare-versions "$LD_ASSUME_KERNEL" le "2.6.1"; then
- echo
- echo "POSIX threads library NPTL requires kernel version 2.6.1"
- echo "or later. It appears that LD_ASSUME_KERNEL is set to $LD_ASSUME_KERNEL."
- echo "It is not safe to upgrade the C library in this situation;"
- echo "Please unset this environment variable and try again."
- echo
- exit 1
- fi
- fi
-
# glibc kernel version check
system=`uname -s`
if [ "$system" = "Linux" ]
@@ -364,8 +343,6 @@
echo WARNING: this version of the GNU libc requires kernel version
echo 3.2 or later. Please upgrade your kernel before installing
echo glibc.
- kernel26_help
-
exit 1
fi
Reply to: