aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-10-18 16:24:17 +0200
committerAndreas Oberritter <obi@opendreambox.org>2017-02-16 11:29:20 +0100
commitd19a17316da205788e5759213ff1320800bc04a0 (patch)
treedd0a70870345258be9a256e3fd7addebb6293369
parent2478464c6294cd46c41482063a49b6d4f3ee1e90 (diff)
downloadmeta-openembedded-contrib-d19a17316da205788e5759213ff1320800bc04a0.tar.gz
meta-openembedded-contrib-d19a17316da205788e5759213ff1320800bc04a0.tar.bz2
meta-openembedded-contrib-d19a17316da205788e5759213ff1320800bc04a0.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)} \