From f1227aae72612bc3f9f25cd9136625f8f0bd8c78 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Mon, 4 Sep 2023 12:40:33 +1000 Subject: [PATCH] Start a gbp packaging branch for upstream=master --- debian/.gitignore | 5 ++ debian/changelog | 76 +++++++++++++++++++++++++++ debian/control | 21 ++++++++ debian/copyright | 10 ++++ debian/overlay-boot.links | 5 ++ debian/overlay-boot.lintian-overrides | 1 + debian/postinst | 11 ++++ debian/postrm | 11 ++++ debian/rules | 8 +++ debian/source/format | 1 + debian/source/options | 1 + 11 files changed, 150 insertions(+) create mode 100644 debian/.gitignore create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/overlay-boot.links create mode 100644 debian/overlay-boot.lintian-overrides create mode 100755 debian/postinst create mode 100755 debian/postrm create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..abaf77a --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,5 @@ +.debhelper/ +debhelper-build-stamp +files +overlay-boot.substvars +overlay-boot/ diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e59fbdb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,76 @@ +overlay-boot (0.1.14) experimental; urgency=medium + + * Bug fixes to handle bind mounted LIVE + + -- Ralph Ronnquist Mon, 04 Sep 2023 12:26:05 +1000 + +overlay-boot (0.1.13) experimental; urgency=medium + + * Revise network startup to handle the ifup case better. + + -- Ralph Ronnquist Fri, 25 Aug 2023 23:34:49 +1000 + +overlay-boot (0.1.12) experimental; urgency=medium + + * Change of email and signing key + + -- Ralph Ronnquist Mon, 26 Jun 2023 21:24:41 +1000 + +overlay-boot (0.1.11) experimental; urgency=medium + + * added vlan setup support + + -- Ralph Ronnquist Sat, 27 May 2023 17:27:46 +1000 + +overlay-boot (0.1.10) experimental; urgency=medium + + * include the overlay-share utility + + -- Ralph Ronnquist Fri, 02 Dec 2022 19:21:58 +1100 + +overlay-boot (0.1.9) experimental; urgency=medium + + * discard most mounts before unshare + + -- Ralph Ronnquist Sat, 12 Nov 2022 18:33:38 +1100 + +overlay-boot (0.1.8) unstable; urgency=medium + + * added configuration for shared subdirectories + + -- Ralph Ronnquist Thu, 29 Sep 2022 20:33:13 +1000 +overlay-boot (0.1.7) unstable; urgency=medium + + * distribute /etc/subhosts.conf as well + + -- Ralph Ronnquist Tue, 10 May 2022 14:34:36 +1000 +overlay-boot (0.1.6) unstable; urgency=medium + + * added sysvinit service support + + -- Ralph Ronnquist Tue, 10 May 2022 12:38:32 +1000 +overlay-boot (0.1.5) unstable; urgency=medium + + * with optional cpuset accounting + + -- Ralph Ronnquist Sat, 09 Apr 2022 10:12:58 +1000 +overlay-boot (0.1.4) unstable; urgency=medium + + * added diskfile support + + -- Ralph Ronnquist Sun, 03 Apr 2022 22:02:56 +1000 +overlay-boot (0.1.2) unstable; urgency=medium + + * bbonev squeeze of reaper.asm + + -- Ralph Ronnquist Tue, 29 Mar 2022 10:41:51 +1100 +overlay-boot (0.1.1) unstable; urgency=medium + + * refactoring for more flexible config + + -- Ralph Ronnquist Sun, 27 Mar 2022 18:55:49 +1100 +overlay-boot (0.1) unstable; urgency=medium + + * initial packaging + + -- Ralph Ronnquist Fri, 25 Mar 2022 18:05:01 +1100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f38bc08 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: overlay-boot +Section: misc +Priority: optional +Origin: Devuan +Maintainer: Ralph Ronnquist +Build-Depends: debhelper-compat (= 13), + asciidoctor, docbook-xml, libxslt1-dev, xsltproc, docbook-xsl, + musl-tools +Standards-Version: 4.6.0 +Homepage: https://borta.rrq.id.au/git?p=ralph/overlay-boot.git +Vcs-Git: https://borta.rrq.id.au/git?p=ralph/overlay-boot.git + +Package: overlay-boot +Architecture: any +Depends: coreutils (>= 8.32-4+b1), util-linux (>= 2.36.1-8+devuan2), + mount, iproute2, ifupdown, dash, procps +Description: Admin scripts for running overlay subhosts + Overlay subhosting uses unshare and chroot for running services + within independent overlay filesystems, with a common kernel but + independent namespaces. Aka "containerization with a modicum of bells + and whistles". diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..080dc7d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,10 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: overlay-boot +Upstream-Contact: Ralph Ronnquist +Source: https://borta.rrq.id.au/git?p=ralph/overlay-boot.git + +Files: * +Copyright: 2022 Ralph Ronnquist +License: GPL-2+ + The full text of the GPL is distributed as in + /usr/share/common-licenses/GPL-2 on Debian systems. diff --git a/debian/overlay-boot.links b/debian/overlay-boot.links new file mode 100644 index 0000000..71565ab --- /dev/null +++ b/debian/overlay-boot.links @@ -0,0 +1,5 @@ +/var/lib/overlay-boot/overlay-boot /usr/sbin/overlay-boot +/var/lib/overlay-boot/overlay-stop /usr/sbin/overlay-stop +/var/lib/overlay-boot/overlay-go /usr/sbin/overlay-go +/var/lib/overlay-boot/overlay-diskfile /usr/sbin/overlay-diskfile +/var/lib/overlay-boot/overlay-shar /usr/sbin/overlay-share diff --git a/debian/overlay-boot.lintian-overrides b/debian/overlay-boot.lintian-overrides new file mode 100644 index 0000000..58f7c33 --- /dev/null +++ b/debian/overlay-boot.lintian-overrides @@ -0,0 +1 @@ +overlay-boot: statically-linked-binary [var/lib/overlay-boot/reaper] diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..46c5f8f --- /dev/null +++ b/debian/postinst @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +case "$1" in + configure) + update-rc.d subhosts defaults || true + ;; + *) + : + ;; +esac diff --git a/debian/postrm b/debian/postrm new file mode 100755 index 0000000..9760d62 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +case "$1" in + remove) + update-rc.d subhosts disable || true + ;; + *) + : + ;; +esac diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..583057e --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_clean: + dh_clean $@ + dh_prep -Xtrial diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..d7be186 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +tar-ignore = trial -- 2.39.2