mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +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() {
|
do_install_append() {
|
||||||
if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then
|
||||||
install -d ${D}${systemd_system_unitdir}
|
install -d ${D}${systemd_system_unitdir}
|
||||||
for i in nmb smb winbind; do
|
install -m 0644 packaging/systemd/*.service ${D}${systemd_system_unitdir}
|
||||||
install -m 0644 packaging/systemd/$i.service ${D}${systemd_system_unitdir}
|
|
||||||
done
|
|
||||||
sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_system_unitdir}/*.service
|
sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_system_unitdir}/*.service
|
||||||
|
|
||||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||||
@@ -161,6 +159,7 @@ FILES_${PN}-base = "${sbindir}/nmbd \
|
|||||||
${localstatedir}/nmbd \
|
${localstatedir}/nmbd \
|
||||||
${localstatedir}/spool/samba \
|
${localstatedir}/spool/samba \
|
||||||
${systemd_system_unitdir}/nmb.service \
|
${systemd_system_unitdir}/nmb.service \
|
||||||
|
${systemd_system_unitdir}/samba.service \
|
||||||
${systemd_system_unitdir}/smb.service"
|
${systemd_system_unitdir}/smb.service"
|
||||||
|
|
||||||
FILES_${PN}-ctdb-tests = "${bindir}/ctdb_run_tests \
|
FILES_${PN}-ctdb-tests = "${bindir}/ctdb_run_tests \
|
||||||
|
|||||||
Reference in New Issue
Block a user