From: John Lenz <jlenz2-d0mtIEKrxfl4piUD7e9S/g@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Minor install fix
Date: Fri, 13 Jul 2007 20:20:40 -0500 [thread overview]
Message-ID: <469824E8.1010809@math.uiuc.edu> (raw)
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/
next reply other threads:[~2007-07-14 1:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-14 1:20 John Lenz [this message]
[not found] ` <469824E8.1010809-d0mtIEKrxfl4piUD7e9S/g@public.gmane.org>
2007-07-15 6:34 ` Minor install fix Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=469824E8.1010809@math.uiuc.edu \
--to=jlenz2-d0mtiekrxfl4piud7e9s/g@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox