summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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