mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
Merge trunk r6232 into iser branch
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -44,11 +44,10 @@ function download_kernel {
|
||||
local plevel="$(patchlevel $1)"
|
||||
local series="$1"
|
||||
|
||||
if [ "${series:0:2}" = "3." ]; then
|
||||
series="3.x"
|
||||
else
|
||||
series="${series:0:3}"
|
||||
fi
|
||||
case "${series:0:2}" in
|
||||
[12].*) series="${series:0:3}";;
|
||||
*) series="${series/.*/}.x";;
|
||||
esac
|
||||
mkdir -p "${kernel_sources}" || return $?
|
||||
test -w "${kernel_sources}" || return $?
|
||||
(
|
||||
|
||||
@@ -478,7 +478,7 @@ BEGIN {
|
||||
exit 1
|
||||
}
|
||||
LINUX_VERSION_CODE = version_code(kernel_version)
|
||||
if (LINUX_VERSION_CODE < 2*65536 || LINUX_VERSION_CODE > 4*65536)
|
||||
if (LINUX_VERSION_CODE < 2*65536)
|
||||
{
|
||||
printf "Error: kernel version (%s) is out of range.\n", kernel_version
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user