summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-09-22 18:45:37 +0000
committerRobert Mustacchi <rm@joyent.com>2011-09-22 18:45:37 +0000
commit70d98895e10fb59a8589d9d9fa64721cab5059ae (patch)
tree46230326f505b6bac18d50d0820abe464180fed1
parentf62f92ef666cc59078288bc6b947f317a2d141fe (diff)
downloadillumos-kvm-70d98895e10fb59a8589d9d9fa64721cab5059ae.tar.gz
HVM-663 kvm repo should supply its own manifest
-rw-r--r--Makefile5
-rw-r--r--manifest14
2 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4d8528f..2f15a56 100644
--- a/Makefile
+++ b/Makefile
@@ -132,6 +132,11 @@ update:
clean:
@pfexec rm -f *.o kvm kvm.so JOY_kvm_link.so
+manifest:
+ cp manifest $(DESTDIR)/$(DESTNAME)
+
uninstall:
@pfexec rem_drv kvm || /bin/true
@pfexec rm -f /usr/kernel/drv/kvm* /usr/kernel/drv/amd64/kvm*
+
+.PHONY: manifest
diff --git a/manifest b/manifest
new file mode 100644
index 0000000..861f75e
--- /dev/null
+++ b/manifest
@@ -0,0 +1,14 @@
+d usr 0755 root sys
+d usr/kernel 0755 root sys
+d usr/kernel/drv 0755 root sys
+d usr/kernel/drv/amd64 0755 root sys
+f usr/kernel/drv/amd64/kvm 0755 root sys
+f usr/kernel/drv/kvm.conf 0644 root sys
+d usr/lib 0755 root bin
+d usr/lib/devfsadm 0755 root sys
+d usr/lib/devfsadm/linkmod 0755 root sys
+f usr/lib/devfsadm/linkmod/JOY_kvm_link.so 0755 root sys
+d usr/lib/mdb 0755 root sys
+d usr/lib/mdb/kvm 0755 root sys
+d usr/lib/mdb/kvm/amd64 0755 root sys
+f usr/lib/mdb/kvm/amd64/kvm.so 0555 root sys