- check-build.sh: accept kernel 3.x

OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=130
This commit is contained in:
Ruediger Oertel 2011-11-14 11:03:01 +00:00 committed by Git OBS Bridge
parent aa6dfe41b1
commit 273b0485f3
2 changed files with 9 additions and 1 deletions

View File

@ -13,7 +13,10 @@ fi
# get kernel version
OFS="$IFS" ; IFS=".-" ; version=(`uname -r`) ; IFS="$OIFS"
if test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 16 ; then
if test ${version[0]} -gt 2 ; then
: # okay
elif test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 16 ; then
echo "FATAL: kernel too old, need kernel >= 2.6.16 for this package" 1>&2
exit 1
fi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 14 12:02:06 CET 2011 - ro@suse.de
- check-build.sh: accept kernel 3.x
-------------------------------------------------------------------
Tue Nov 8 22:55:40 CET 2011 - dmueller@suse.de