Author: aurel32 Date: 2015-12-07 11:58:20 +0000 (Mon, 07 Dec 2015) New Revision: 6784
Modified: glibc-package/trunk/debian/debhelper.in/libc.preinst Log: debian/debhelper.in/libc.preinst: improve warning/error messages Modified: glibc-package/trunk/debian/debhelper.in/libc.preinst =================================================================== --- glibc-package/trunk/debian/debhelper.in/libc.preinst 2015-12-07 11:56:54 UTC (rev 6783) +++ glibc-package/trunk/debian/debhelper.in/libc.preinst 2015-12-07 11:58:20 UTC (rev 6784) @@ -135,7 +135,7 @@ kernel_rev=$(uname -r | sed 's/\([0-9]*\.\)\{1,2\}\([0-9]*\)\(.*\)/\2/') if [ "$kernel_rev" -ge 255 ] then - echo "WARNING: Your kernel version indicates a revision number" + echo "ERROR: Your kernel version indicates a revision number" echo "of 255 or greater. Glibc has a number of built in" echo "assumptions that this revision number is less than 255." echo "If you\'ve built your own kernel, please make sure that any" @@ -166,6 +166,7 @@ echo "ERROR: This version of the GNU libc requires kernel version" echo "$kernel_ver_rec or later. Please upgrade your kernel before installing" echo "glibc." + echo exit 1 fi @@ -184,6 +185,7 @@ echo "ERROR: This version of the GNU libc requires kernel version" echo "$kernel_ver_min or later. Please upgrade your kernel before installing" echo "glibc." + echo exit 1 fi fi