aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-10-18 16:24:17 +0200
committerAndreas Oberritter <obi@opendreambox.org>2017-06-26 22:59:19 +0200
commitacdd4dfa2c813e0522e733e50b1511da352d64b6 (patch)
tree5cc6b196f191c0a018ec8a146fec98c25ad741d5
parentcad46095a424cc307dc73cba2ce77de26ac3868c (diff)
downloadmeta-openembedded-contrib-acdd4dfa2c813e0522e733e50b1511da352d64b6.tar.gz
meta-openembedded-contrib-acdd4dfa2c813e0522e733e50b1511da352d64b6.tar.bz2
meta-openembedded-contrib-acdd4dfa2c813e0522e733e50b1511da352d64b6.zip
samba: start on boot with systemd
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb4
1 files changed, 4 insertions, 0 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 65ad7fadab..e302b943a5 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -36,6 +36,10 @@ SYSVINITTYPE = "sysv"
INITSCRIPT_NAME = "samba"
INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ."
+SYSTEMD_PACKAGES = "${PN}-base winbind"
+SYSTEMD_SERVICE_${PN}-base = "nmb.service smb.service"
+SYSTEMD_SERVICE_winbind = "winbind.service"
+
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SYSVINITTYPE}', '', d)} \
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \