From: Ralph Ronnquist Date: Tue, 3 Dec 2024 12:54:56 +0000 (+1100) Subject: refactoring X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=3f50bc19109c884b6557f5035fcfccfaadffbb8d;p=rrq%2Foverlay-boot.git refactoring --- diff --git a/debian/changelog b/debian/changelog index a4332db..3677604 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,96 +1,5 @@ overlay-boot (1.2-1) unstable; urgency=medium - * Build reaper with gcc - * Create /run/lock with setup of /run + * First version into debian repository - -- Ralph Ronnquist Wed, 27 Nov 2024 22:57:14 +1100 - -overlay-boot (1.1-1) unstable; urgency=medium - - * Added bind-mount of /etc/adjtime to keep subhost time aligned with host - * Updated networking for ifupdown-without-bridge - - -- Ralph Ronnquist Mon, 29 Jan 2024 09:22:00 +1100 - -overlay-boot (1.0-1) unstable; urgency=medium - - * Version change for (first) unstable build. - - -- Ralph Ronnquist Mon, 04 Sep 2023 13:22:49 +1000 - -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 + -- Ralph Ronnquist Tue, 03 Dec 2024 23:34:38 +1100 diff --git a/debian/changelog.old b/debian/changelog.old new file mode 100644 index 0000000..a4332db --- /dev/null +++ b/debian/changelog.old @@ -0,0 +1,96 @@ +overlay-boot (1.2-1) unstable; urgency=medium + + * Build reaper with gcc + * Create /run/lock with setup of /run + + -- Ralph Ronnquist Wed, 27 Nov 2024 22:57:14 +1100 + +overlay-boot (1.1-1) unstable; urgency=medium + + * Added bind-mount of /etc/adjtime to keep subhost time aligned with host + * Updated networking for ifupdown-without-bridge + + -- Ralph Ronnquist Mon, 29 Jan 2024 09:22:00 +1100 + +overlay-boot (1.0-1) unstable; urgency=medium + + * Version change for (first) unstable build. + + -- Ralph Ronnquist Mon, 04 Sep 2023 13:22:49 +1000 + +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 index 70d1fb5..4536e48 100644 --- a/debian/control +++ b/debian/control @@ -1,8 +1,7 @@ Source: overlay-boot Section: misc Priority: optional -Origin: Devuan -Maintainer: Ralph Ronnquist +Maintainer: Ralph Ronnquist Build-Depends: debhelper-compat (= 13), asciidoctor Standards-Version: 4.7.0 Homepage: https://git.devuan.org/devuan/overlay-boot.git @@ -10,12 +9,27 @@ Vcs-Git: https://git.devuan.org/devuan/overlay-boot.git vcs-browser: https://git.devuan.org/devuan/overlay-boot.git Package: overlay-boot -Architecture: any +Architecture: linux-any Depends: ${shlibs:Depends}, ${misc: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 + Overlay subhosting that 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". + . + This is a very lightweight container alternative that supports the + full range of use cases. It includes for example, "safe" trialling of + software over an existing filesystem without "polluting" that + filesystem. Or, an overlay-boot setup might be made of a full foreign + architecture sub-hosting. The framework is entirely in shell script + form which is both fully transparent and easily modifiable. + +Package: overlay-boot-sysvinit +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: overlay-boot +Description: sysvinit scripting to automate overlay-boot subhosting + Administrative package offering a sysvinit script that starts + overlay-boot sub hosts at system start. diff --git a/debian/overlay-boot-sysvinit.install b/debian/overlay-boot-sysvinit.install new file mode 100644 index 0000000..159969f --- /dev/null +++ b/debian/overlay-boot-sysvinit.install @@ -0,0 +1,2 @@ +etc/init.d/subhosts +etc/subhosts.conf diff --git a/debian/overlay-boot.files b/debian/overlay-boot.files new file mode 100644 index 0000000..6ff19f3 --- /dev/null +++ b/debian/overlay-boot.files @@ -0,0 +1,10 @@ +functions var/lib/overlay-boot +overlay-boot var/lib/overlay-boot +overlay-diskfile var/lib/overlay-boot +overlay-go var/lib/overlay-boot +overlay-init var/lib/overlay-boot +overlay-postmount var/lib/overlay-boot +overlay-premount var/lib/overlay-boot +overlay-share var/lib/overlay-boot +overlay-stop var/lib/overlay-boot +reaper var/lib/overlay-boot diff --git a/debian/overlay-boot.install b/debian/overlay-boot.install new file mode 100644 index 0000000..79d0c59 --- /dev/null +++ b/debian/overlay-boot.install @@ -0,0 +1,17 @@ +var/lib/overlay-boot/functions +var/lib/overlay-boot/overlay-boot +var/lib/overlay-boot/overlay-diskfile +var/lib/overlay-boot/overlay-go +var/lib/overlay-boot/overlay-init +var/lib/overlay-boot/overlay-postmount +var/lib/overlay-boot/overlay-premount +var/lib/overlay-boot/overlay-share +var/lib/overlay-boot/overlay-stop +var/lib/overlay-boot/reaper + +usr/share/man/man8/overlay-boot.8 +usr/share/man/man8/overlay-go.8 +usr/share/man/man8/overlay-stop.8 +usr/share/man/man8/overlay-diskfile.8 + +