- 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:
parent
aa6dfe41b1
commit
273b0485f3
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user