From 67ff4fed7741ee22f84a42d6ea81036ee1b5b976 Mon Sep 17 00:00:00 2001 From: Gavin Chappell Date: Wed, 3 Apr 2019 20:13:38 +0100 Subject: [PATCH 1/2] Update INSTALL.md `debhelper` is also a pre-requisite for Debian systems --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 88435d0..ac7b74a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -20,7 +20,7 @@ Install prerequisite software: ```bash -apt install libconfig-inifiles-perl pv lzop mbuffer +apt install debhelper libconfig-inifiles-perl pv lzop mbuffer ``` Clone this repo, build the debian package and install it (alternatively you can skip the package and do it manually like described below for CentOS): From eef598c729d56415af6c2149fe9eb9cdf64cd45b Mon Sep 17 00:00:00 2001 From: Gavin Chappell Date: Sat, 20 Apr 2019 08:42:25 +0100 Subject: [PATCH 2/2] Update rules On my Debian Stretch system `dpkg-buildpackage` returns errors about not being able to find `sanoid.timer` --- packages/debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/debian/rules b/packages/debian/rules index ddd77b0..8cadf58 100755 --- a/packages/debian/rules +++ b/packages/debian/rules @@ -16,7 +16,7 @@ override_dh_auto_install: @mkdir -p $(DESTDIR)/usr/share/doc/sanoid; \ cp sanoid.conf $(DESTDIR)/usr/share/doc/sanoid/sanoid.conf.example; @mkdir -p $(DESTDIR)/lib/systemd/system; \ - cp debian/sanoid-prune.service $(DESTDIR)/lib/systemd/system; + cp debian/sanoid-prune.service debian/sanoid.timer $(DESTDIR)/lib/systemd/system; override_dh_installinit: dh_installinit --noscripts