Add debian packaging files

Signed-off-by: Eric Biggers <ebiggers@google.com>
diff --git a/Makefile b/Makefile
index 36e64f8..52ab17e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,14 @@
 CFLAGS := -O2 -Wall
 EXE := fsverity
+DESTDIR := /usr/local
 
 all:$(EXE)
 
 clean:
 	rm -f $(EXE)
 
+install:all
+	install -Dm755 -t $(DESTDIR)/bin $(EXE) fsveritysetup \
+		mkfsverity.sh full-run-fsverity.sh
+
 .PHONY: all clean
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a2e894d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+fsverity-utils (0.1-1) experimental; urgency=low
+
+  * Experimental: debian package for xfstests test appliances
+
+ -- Eric Biggers <ebiggers@google.com>  Mon, 02 Apr 2018 10:18:21 -0700
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a0bde47
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: fsverity-utils
+Priority: optional
+Maintainer: Eric Biggers <ebiggers@google.com>
+Build-Depends: debhelper (>= 10), python
+Standards-Version: 4.0.0
+Vcs-Git: git://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/fsverity
+
+Package: fsverity-utils
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, cryptsetup-bin
+Description: fs-verity userspace utilities.  These programs allow you to set up
+ read-only, integrity and/or authenticity-protected files when supported by the
+ underlying filesystem.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..105dc6f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,7 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: fsverity
+Source: git://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/fsverity
+
+Files: *
+Copyright: 2018 Google, Inc
+License: GPL-2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ebd8ecb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+
+include /usr/share/dpkg/default.mk
+
+%:
+	dh $@ --with python2