[oe-commits] [meta-openembedded] 43/70: samba: install all systemd unit files
git at git.openembedded.org
git at git.openembedded.org
Fri Dec 9 11:01:30 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 510b6f9fcbdf6a4c9d746d9a432d1ea8cf74282e
Author: Andreas Oberritter <obi at opendreambox.org>
AuthorDate: Wed Nov 30 13:03:53 2016 +0100
samba: install all systemd unit files
This includes samba.service, which other major distributions install, too.
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 5 ++---
1 file 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 613a39b..6d62481 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 \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list