Accepting request 91344 from Base:System

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

OBS-URL: https://build.opensuse.org/request/show/91344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=93
This commit is contained in:
Stephan Kulow 2011-11-14 12:58:56 +00:00 committed by Git OBS Bridge
commit 31c83a081f
2 changed files with 9 additions and 1 deletions

View File

@ -13,7 +13,10 @@ fi
# get kernel version # get kernel version
OFS="$IFS" ; IFS=".-" ; version=(`uname -r`) ; IFS="$OIFS" 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 echo "FATAL: kernel too old, need kernel >= 2.6.16 for this package" 1>&2
exit 1 exit 1
fi 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 Tue Nov 8 22:55:40 CET 2011 - dmueller@suse.de