diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb index a51d31f020..fa35038bec 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | |||
| @@ -117,8 +117,9 @@ do_install_append() { | |||
| 117 | -i ${D}${systemd_unitdir}/system/*.service | 117 | -i ${D}${systemd_unitdir}/system/*.service |
| 118 | 118 | ||
| 119 | install -d ${D}${sysconfdir}/tmpfiles.d | 119 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 120 | echo "d ${localstatedir}/log/samba 0755 root root -" \ | 120 | install -m644 packaging/systemd/samba.conf.tmp ${D}${sysconfdir}/tmpfiles.d/samba.conf |
| 121 | > ${D}${sysconfdir}/tmpfiles.d/99-${BPN}.conf | 121 | echo "d ${localstatedir}/log/samba 0755 root root -" \ |
| 122 | >> ${D}${sysconfdir}/tmpfiles.d/samba.conf | ||
| 122 | elif ${@bb.utils.contains('PACKAGECONFIG', 'lsb', 'true', 'false', d)}; then | 123 | elif ${@bb.utils.contains('PACKAGECONFIG', 'lsb', 'true', 'false', d)}; then |
| 123 | install -d ${D}${sysconfdir}/init.d | 124 | install -d ${D}${sysconfdir}/init.d |
| 124 | install -m 0755 packaging/LSB/samba.sh ${D}${sysconfdir}/init.d | 125 | install -m 0755 packaging/LSB/samba.sh ${D}${sysconfdir}/init.d |
| @@ -135,9 +136,6 @@ do_install_append() { | |||
| 135 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts | 136 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts |
| 136 | install -m644 packaging/LSB/smb.conf ${D}${sysconfdir}/samba/smb.conf | 137 | install -m644 packaging/LSB/smb.conf ${D}${sysconfdir}/samba/smb.conf |
| 137 | 138 | ||
| 138 | install -d ${D}${libdir}/tmpfiles.d | ||
| 139 | install -m644 packaging/systemd/samba.conf.tmp ${D}${libdir}/tmpfiles.d/samba.conf | ||
| 140 | |||
| 141 | install -d ${D}${sysconfdir}/sysconfig/ | 139 | install -d ${D}${sysconfdir}/sysconfig/ |
| 142 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/sysconfig/samba | 140 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/sysconfig/samba |
| 143 | } | 141 | } |
| @@ -281,7 +279,6 @@ FILES_libnss-winbind = "${libdir}/libnss_*${SOLIBS} \ | |||
| 281 | " | 279 | " |
| 282 | 280 | ||
| 283 | FILES_${PN} += "${base_libdir}/security/pam_smbpass.so \ | 281 | FILES_${PN} += "${base_libdir}/security/pam_smbpass.so \ |
| 284 | ${libdir}/tmpfiles.d/* \ | ||
| 285 | " | 282 | " |
| 286 | 283 | ||
| 287 | SMB_SERVICE="${systemd_unitdir}/system/nmb.service ${systemd_unitdir}/system/smb.service" | 284 | SMB_SERVICE="${systemd_unitdir}/system/nmb.service ${systemd_unitdir}/system/smb.service" |
