summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-02-28 09:32:54 (GMT)
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-03-05 11:04:17 (GMT)
commit70bd026b4c9f24e511eca369bb5652fc659fe9a8 (patch)
tree8bb9faf897f6f3771aaa546ace84e0272b468a8d
parent66c027815e8c701d656ecdabc3b25e2892cc2202 (diff)
downloadbaserock-chroot-70bd026b4c9f24e511eca369bb5652fc659fe9a8.tar.gz
Add Debian-style packaging rules
-rw-r--r--debian/baserock-chroot.postinst7
-rw-r--r--debian/baserock-chroot.prerm7
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control13
-rw-r--r--debian/copyright9
-rwxr-xr-xdebian/rules4
7 files changed, 47 insertions, 0 deletions
diff --git a/debian/baserock-chroot.postinst b/debian/baserock-chroot.postinst
new file mode 100644
index 0000000..c244aa1
--- /dev/null
+++ b/debian/baserock-chroot.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -eu
+
+br-ct-sync-chroots
+
+#DEBHELPER#
diff --git a/debian/baserock-chroot.prerm b/debian/baserock-chroot.prerm
new file mode 100644
index 0000000..5eb43c0
--- /dev/null
+++ b/debian/baserock-chroot.prerm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -eu
+
+br-ct-sync-chroots purge
+
+#DEBHELPER#
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..68a5b85
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+baserock-chroot (1) unstable; urgency=low
+
+ * Initial version
+
+ -- Daniel Silverstone <daniel.silverstone@codethink.co.uk> Wed, 26 Feb 2014 17:06:22 +0000
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..daefe92
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: baserock-chroot
+Section: codethink
+Priority: optional
+Maintainer: Baserock Engineering <baserock-dev@baserock.org>
+Build-Depends: debhelper
+Standards-Version: 3.6.1
+
+Package: baserock-chroot
+Architecture: all
+Depends: schroot, wget, sudo
+Description: Baserock chroot related tools
+ Manage chroots which contain baserock on [XKL]Ubuntu systems.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f250cb2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,9 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Baserock Chroot Manager
+Upstream-Contact: Baserock Developers List <baserock-dev@baserock.org>
+Source: http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/baserock-chroot.git/tree
+
+Files: *
+Copyright: 2014 Codethink Ltd
+License: GPL-2+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..924b1b6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ @dh $@