From: Tim Yamin Date: Wed, 11 Aug 2004 18:07:13 +0000 (+0000) Subject: Added a check to disable udev on 2.4 kernels; bug #59687. X-Git-Tag: v3.4.10.902~625 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=573d33b130a22ccc1de148bb568ede6877d5a399;p=genkernel.git Added a check to disable udev on 2.4 kernels; bug #59687. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@127 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/genkernel b/genkernel index eb0f339..ee6c5c8 100755 --- a/genkernel +++ b/genkernel @@ -216,6 +216,7 @@ then fi compile_devfsd + [ "${VER}" -lt '2' ] || [ "${VER}" -eq '2' -a "${PAT}" -lt '6' -a "${UDEV}" -eq '1' ] && UDEV=0 && print_info 1 'udev: Target is a 2.4 kernel, support disabled.' [ "${VER}" -gt '2' ] || [ "${VER}" -eq '2' -a "${PAT}" -ge '6' ] && UDEV=1 && print_info 1 'udev: Target is a 2.6 kernel, support enabled.' [ "${UDEV}" -eq '1' ] && compile_udev