diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 5 |
1 files 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 613a39bf61..6d6248155f 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 | |||
| 100 | do_install_append() { | 100 | do_install_append() { |
| 101 | if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then | 101 | if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then |
| 102 | install -d ${D}${systemd_system_unitdir} | 102 | install -d ${D}${systemd_system_unitdir} |
| 103 | for i in nmb smb winbind; do | 103 | install -m 0644 packaging/systemd/*.service ${D}${systemd_system_unitdir} |
| 104 | install -m 0644 packaging/systemd/$i.service ${D}${systemd_system_unitdir} | ||
| 105 | done | ||
| 106 | sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_system_unitdir}/*.service | 104 | sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_system_unitdir}/*.service |
| 107 | 105 | ||
| 108 | install -d ${D}${sysconfdir}/tmpfiles.d | 106 | install -d ${D}${sysconfdir}/tmpfiles.d |
| @@ -161,6 +159,7 @@ FILES_${PN}-base = "${sbindir}/nmbd \ | |||
| 161 | ${localstatedir}/nmbd \ | 159 | ${localstatedir}/nmbd \ |
| 162 | ${localstatedir}/spool/samba \ | 160 | ${localstatedir}/spool/samba \ |
| 163 | ${systemd_system_unitdir}/nmb.service \ | 161 | ${systemd_system_unitdir}/nmb.service \ |
| 162 | ${systemd_system_unitdir}/samba.service \ | ||
| 164 | ${systemd_system_unitdir}/smb.service" | 163 | ${systemd_system_unitdir}/smb.service" |
| 165 | 164 | ||
| 166 | FILES_${PN}-ctdb-tests = "${bindir}/ctdb_run_tests \ | 165 | FILES_${PN}-ctdb-tests = "${bindir}/ctdb_run_tests \ |
