use dh_installinit
authorRalph Ronnquist <rrq@rrq.au>
Tue, 3 Dec 2024 22:42:54 +0000 (09:42 +1100)
committerRalph Ronnquist <rrq@rrq.au>
Tue, 3 Dec 2024 22:42:54 +0000 (09:42 +1100)
debian/rules

index 2d33f6ac8992b7da84b39a5bca0742c4962d3349..2f1d809b4eb0ad8fb54ac63b5de1c7dcdd76aafb 100755 (executable)
@@ -2,3 +2,7 @@
 
 %:
        dh $@
+
+# add prerm/postinst automagically
+override_dh_installinit:
+       dh_installinit -p overlay-boot  --name=subhosts --only-scripts