[Pkg-samba-maint] [Git][samba-team/samba][master] Use the new --systemd-install-services

Mathieu Parent gitlab at salsa.debian.org
Thu Mar 15 10:54:21 UTC 2018


Mathieu Parent pushed to branch master at Debian Samba Team / samba


Commits:
c6723aeb by Mathieu Parent at 2018-03-15T11:44:51+01:00
Use the new --systemd-install-services

Fix FTBFS:
install: cannot stat packaging/systemd/*.service: No such file or directory

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -74,7 +74,9 @@ conf_args = \
 
 ifeq ($(DEB_HOST_ARCH_OS), linux)
 	conf_args += \
-		--with-systemd
+		--with-systemd \
+		--systemd-install-services \
+		--with-systemddir=/lib/systemd/system
 else
 	conf_args += \
 		--without-systemd
@@ -179,7 +181,6 @@ override_dh_install:
 	# Install systemd configs
 	mkdir -p $(DESTDIR)/lib/systemd/system/
 	install -m 0644 ctdb/config/ctdb.service $(DESTDIR)/lib/systemd/system/
-	install -m 0644 packaging/systemd/*.service $(DESTDIR)/lib/systemd/system/
 	mv $(DESTDIR)/lib/systemd/system/nmb.service $(DESTDIR)/lib/systemd/system/nmbd.service
 	mv $(DESTDIR)/lib/systemd/system/smb.service $(DESTDIR)/lib/systemd/system/smbd.service
 	mv $(DESTDIR)/lib/systemd/system/samba.service $(DESTDIR)/lib/systemd/system/samba-ad-dc.service



View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/c6723aebc0b062b2c325bc34272f25f14d389c02

---
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/c6723aebc0b062b2c325bc34272f25f14d389c02
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20180315/fd60c69f/attachment-0001.html>


More information about the Pkg-samba-maint mailing list