From 70bd026b4c9f24e511eca369bb5652fc659fe9a8 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 28 Feb 2014 09:32:54 +0000 Subject: Add Debian-style packaging rules --- debian/baserock-chroot.postinst | 7 +++++++ debian/baserock-chroot.prerm | 7 +++++++ debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 13 +++++++++++++ debian/copyright | 9 +++++++++ debian/rules | 4 ++++ 7 files changed, 47 insertions(+) create mode 100644 debian/baserock-chroot.postinst create mode 100644 debian/baserock-chroot.prerm create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules 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 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 +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 +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 $@ -- cgit v1.2.1