[Pkg-samba-maint] [samba] 01/02: use samba.links to create systemd symlink
Ivo De Decker
ivodd at moszumanska.debian.org
Fri Oct 24 23:21:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
ivodd pushed a commit to branch master
in repository samba.
commit 18784f1442d5fe2897931f613e36bc257f81a4db
Author: Ivo De Decker <ivodd at debian.org>
Date: Sat Oct 25 00:38:38 2014 +0200
use samba.links to create systemd symlink
---
debian/rules | 3 ---
debian/samba.install | 1 -
debian/samba.links | 2 ++
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 124c3b8..383385c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -133,9 +133,6 @@ override_dh_install:
mkdir -p debian/samba/usr/lib/$(PYSHORT)/dist-packages/samba
mv $(DESTDIR)/usr/lib/$(PYSHORT)/dist-packages/samba/dckeytab.so \
debian/samba/usr/lib/$(PYSHORT)/dist-packages/samba/dckeytab.so
- # mask /etc/init.d/samba init script for systemd
- mkdir -p $(DESTDIR)/lib/systemd/system/
- ln -s /dev/null $(DESTDIR)/lib/systemd/system/samba.service
# use upstream version of smb.conf.5 if there is no built version
# this is a temporary workaround for #750593 in xsltproc
[ -e $(DESTIDR)/usr/share/man/man5/smb.conf.5 ] || \
diff --git a/debian/samba.install b/debian/samba.install
index 81eac8c..55fa28f 100644
--- a/debian/samba.install
+++ b/debian/samba.install
@@ -1,4 +1,3 @@
-lib/systemd/system/samba.service
usr/bin/eventlogadm
usr/bin/oLschema2ldif
usr/bin/pdbedit
diff --git a/debian/samba.links b/debian/samba.links
new file mode 100644
index 0000000..fb7055f
--- /dev/null
+++ b/debian/samba.links
@@ -0,0 +1,2 @@
+# mask /etc/init.d/samba init script for systemd
+/dev/null /lib/systemd/system/samba.service
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git
More information about the Pkg-samba-maint
mailing list