Index: gen_compile.sh =================================================================== --- gen_compile.sh (revision 23) +++ gen_compile.sh (revision 32) @@ -467,7 +467,7 @@ } compile_udev() { - if [ ! -f "${UDEV_BINCACHE}" ] + if [ "${KV:0:3}" == "2.6" ] && [ ! -f "${UDEV_BINCACHE}" ] then cd "${TEMP}" rm -rf "${UDEV_DIR}" udev @@ -482,7 +482,7 @@ print_info 1 'udev: >> Compiling...' ln -snf "${KERNEL_DIR}" klibc/linux || gen_die "Could not link to ${KERNEL_DIR}" - compile_generic 'USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf' utils + compile_generic "KERNEL_DIR=$KERNEL_DIR USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" utils strip udev || gen_die 'Failed to strip the udev binary!' print_info 1 ' >> Installing...'