summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-11-30 13:04:03 +0100
committerJoe MacDonald <joe_macdonald@mentor.com>2016-12-17 10:57:41 -0500
commitcb9e340867bc12b440a9ac25363b412168ad8f13 (patch)
tree18468bfa90689b2f563a3be40b047f958dbbc5ff /meta-networking
parent8b61539ea0a32637871c735354469a6a04fa5aa3 (diff)
downloadmeta-openembedded-cb9e340867bc12b440a9ac25363b412168ad8f13.tar.gz
samba: start on boot with systemd
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-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 76f97cf99..804a4d2dd 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -44,6 +44,10 @@ SYSVINITTYPE = "sysv"
44INITSCRIPT_NAME = "samba" 44INITSCRIPT_NAME = "samba"
45INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ." 45INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ."
46 46
47SYSTEMD_PACKAGES = "${PN}-base winbind"
48SYSTEMD_SERVICE_${PN}-base = "nmb.service smb.service"
49SYSTEMD_SERVICE_winbind = "winbind.service"
50
47PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SYSVINITTYPE}', '', d)} \ 51PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SYSVINITTYPE}', '', d)} \
48 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ 52 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
49 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'zeroconf', '', d)} \ 53 ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'zeroconf', '', d)} \