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
cleanup-cruft
Tim Yamin 21 years ago
parent 85917d6f04
commit 573d33b130

@ -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

Loading…
Cancel
Save