[Patch] adding some scripts at installing

Akio Takebe
2007-10-30T09:29:28Z

Hi,

I wanted to use network with --mac optin of kvm script on guest,
but I didn't use it because I didn't know needing to copy some scripts.
I think it is better that we can use --mac option after "make install".
So I modified install section in the Makefile.

Signed-off-by: Akio Takebe <takebe_akio-+CUm20s59erQFUHtdCDX3A@public.gmane.org>

---

--- kvm-49/Makefile 2007-10-29 02:14:57.000000000 +0900
+++ kvm-49.new/Makefile 2007-10-30 18:14:42.000000000 +0900
@@ -43,6 +43,10 @@ install:
$(kcmd)make -C kernel DESTDIR="$(DESTDIR)" install
make -C user DESTDIR="$(DESTDIR)" install
make -C qemu DESTDIR="$(DESTDIR)" install
+ install -d $(DESTDIR)/$(confdir)
+ cp scripts/kvm $(DESTDIR)/$(initdir)/kvm
+ cp scripts/qemu-ifup $(DESTDIR)/$(confdir)/qemu-ifup
+ install -t $(DESTDIR)/etc/udev/rules.d scripts/*kvm*.rules

tmpspec = .tmp.kvm.spec
RPMDIR=$$(pwd)/RPMS

Best Regards,

Akio Takebe