--- /dev/null
+SBINDIR = $(DESTDIR)/usr/sbin
+ETCDIR = $(DESTDIR)/etc/rrqnet
+MAN1DIR = $(DESTDIR)/usr/share/man/man1
+MAN8DIR = $(DESTDIR)/usr/share/man/man8
+VARLIBDIR = $(DESTDIR)/var/lib/overlay-boot
+
+SBINCFILES =
+#SBINFILES = overlay-boot overlay-go overlay-stop
+ETCFILES =
+MAN1FILES =
+MAN8FILES =
+HTMLDOC = $(MAN8FILES:%=%.html)
+VARLIBFILES = overlay-boot overlay-go overlay-stop functions reaper
+
+all: reaper/reaper
+
+reaper/reaper:
+ $(MAKE) -C reaper
+
+$(VARLIBDIR)/:
+ mkdir -p $@
+
+$(addprefix $(VARLIBDIR)/,$(VARLIBFILES)): $(VARLIBDIR)/%: % | $(VARLIBDIR)/
+ cp -p $< $@
+
+#$(SBINDIR)/:
+# mkdir -p $@
+#
+#$(addprefix $(SBINDIR)/,$(SBINFILES)): $(SBINDIR)/%: $(VARLIBDIR)/% | $(SBINDIR)/
+# ln -sTf $< $@
+
+$(VARLIBDIR)/reaper: reaper/reaper
+ cp $< $@
+
+INSTALLTARGETS = $(addprefix $(SBINDIR)/,$(SBINFILES))
+INSTALLTARGETS += $(addprefix $(ETCDIR)/,$(ETCFILES))
+INSTALLTARGETS += $(addprefix $(MAN1DIR)/,$(MAN1FILES))
+INSTALLTARGETS += $(addprefix $(MAN8DIR)/,$(MAN8FILES))
+INSTALLTARGETS += $(addprefix $(VARLIBDIR)/,$(VARLIBFILES))
+
+install: $(INSTALLTARGETS)
+
+BUILDPACKAGE = -us -uc --build=full -Iolle
+deb:
+ PREFIX= INCLUDE_PREFIX=/usr dpkg-buildpackage $(BUILDPACKAGE)
--- /dev/null
+overlay-boot (0.1) unstable; urgency=medium
+
+ * inital packaging
+
+ -- Ralph Ronnquist <ralph.ronnquist@gmail.com> Fri, 25 Mar 2022 18:05:01 +1100
--- /dev/null
+Source: overlay-boot
+Section: misc
+Priority: optional
+Maintainer: Ralph Ronnquist <ralph.ronnquist@gmail.com>
+Build-Depends: debhelper-compat (= 13),
+ asciidoc, docbook-xml, libxslt1-dev, xsltproc, docbook-xsl,
+ fasm
+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, util-linux, mount,
+ iproute2, ifupdown, dash
+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 without the bells and whistles".
--- /dev/null
+/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
--- /dev/null
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_strip:
+ # no stripping needed
+
+clean:
+ dh_auto_clean
+ $(MAKE) -C reaper clean
--- /dev/null
+3.0 (native)