aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-11-30 13:03:53 +0100
committerJoe MacDonald <joe_macdonald@mentor.com>2016-12-14 09:20:11 -0500
commit28b8edc760d5e0664ad4861464f5de06f5fc305a (patch)
tree56d582613c8de77d7a8899355790fbe6608e471f /meta-networking/recipes-connectivity
parent38279b4a5a7701f4dd93a65979a78b3fbf22dd29 (diff)
downloadmeta-openembedded-contrib-28b8edc760d5e0664ad4861464f5de06f5fc305a.tar.gz
samba: install all systemd unit files
This includes samba.service, which other major distributions install, too. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
index 613a39bf61..6d6248155f 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -100,9 +100,7 @@ LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-g
do_install_append() {
if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_system_unitdir}
- for i in nmb smb winbind; do
- install -m 0644 packaging/systemd/$i.service ${D}${systemd_system_unitdir}
- done
+ install -m 0644 packaging/systemd/*.service ${D}${systemd_system_unitdir}
sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_system_unitdir}/*.service
install -d ${D}${sysconfdir}/tmpfiles.d
@@ -161,6 +159,7 @@ FILES_${PN}-base = "${sbindir}/nmbd \
${localstatedir}/nmbd \
${localstatedir}/spool/samba \
${systemd_system_unitdir}/nmb.service \
+ ${systemd_system_unitdir}/samba.service \
${systemd_system_unitdir}/smb.service"
FILES_${PN}-ctdb-tests = "${bindir}/ctdb_run_tests \