My patch to fix the --kerneldir option to configure caused a subtle
change in behavior when --kerneldir wasn't specified. Previously,
kernel/Makefile would set KERNELDIR to /lib/modules/xxx. The fix
caused it to be set to $(readlink -f /lib/modules/xxx) (via
config.mak). Normally this wouldn't have made any difference, a
symlink and what it points to are synonymous, but various places rely
on KERNELDIR being of the form /lib/modules/xxx for pattern
substitution. Switch back to the old behavior.

This should fix the issue reported by Omar Khan <[EMAIL PROTECTED]> and
Pelle <[EMAIL PROTECTED]>

Signed-off-by: Muli Ben-Yehuda <[EMAIL PROTECTED]>

Index: configure
===================================================================
--- configure   (revision 4414)
+++ configure   (working copy)
@@ -94,7 +94,7 @@
 
 cat <<EOF > config.mak
 PREFIX=$prefix
-KERNELDIR=$(readlink -f $kerneldir)
+KERNELDIR="$kerneldir"
 WANT_MODULE=$want_module
 EOF
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to