I noticed kvm 29 added a command into make install
to move the distro installed kvm.ko modules out of
the way.
But for me, I had already removed the drivers/kvm
directory, so make install was getting a file does
not exist error. So I added a test for the directory.
John
--- kvm-29/kernel/Makefile 2007-07-12 05:20:47.000000000 -0500
+++ kvm-29.mod/kernel/Makefile 2007-07-13 20:13:45.000000000 -0500
@@ -41,7 +41,9 @@
install:
mkdir -p $(DESTDIR)/$(INSTALLDIR)
cp *.ko $(DESTDIR)/$(INSTALLDIR)
- for i in $(ORIGMODDIR)/drivers/kvm/*.ko; do mv $$i $$i.orig; done
+ if [ -d $(ORIGMODDIR)/drivers/kvm ]; then \
+ for i in $(ORIGMODDIR)/drivers/kvm/*.ko; do mv $$i $$i.orig; done \
+ fi
/sbin/depmod -a
tmpspec = .tmp.kvm-kmod.spec
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel