diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/systemd/systemd-general/build-spec/debian/rules | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/systemd/systemd-general/build-spec/debian/rules')
-rw-r--r-- | t/recipes/checks/systemd/systemd-general/build-spec/debian/rules | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/t/recipes/checks/systemd/systemd-general/build-spec/debian/rules b/t/recipes/checks/systemd/systemd-general/build-spec/debian/rules new file mode 100644 index 0000000..68b3e30 --- /dev/null +++ b/t/recipes/checks/systemd/systemd-general/build-spec/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +ETC_DIR=debian/$(shell dh_listpackages)/etc/ +INITD_DIR=$(ETC_DIR)/init.d +SYSD_DIR=$(ETC_DIR)/systemd/system + +%: + dh $@ + +override_dh_install: + dh_install + install -m 0755 -d $(INITD_DIR) $(SYSD_DIR) + mkfifo $(INITD_DIR)/fifo-pipe-as-init + mkfifo $(SYSD_DIR)/fifo-pipe-as-init.service + install -m 0755 debian/bootmisc.sh $(INITD_DIR) + install -m 0755 debian/systemd-general.masked.init $(INITD_DIR)/masked + touch $(INITD_DIR)/README + +override_dh_fixperms: + dh_fixperms + chmod -x $(INITD_DIR)/README + +override_dh_installinit: + dh_installinit + dh_installinit --name systemd-aliasd + dh_installinit --name sourced.sh + +override_dh_installsystemd: + dh_installsystemd + dh_installsystemd --name sourced |