mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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>
This commit is contained in:
committed by
Joe MacDonald
parent
38279b4a5a
commit
28b8edc760
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user