diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/samba/samba-4.4.2/volatiles.03_samba | 3 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.4.2.bb | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba-4.4.2/volatiles.03_samba b/meta-networking/recipes-connectivity/samba/samba-4.4.2/volatiles.03_samba new file mode 100644 index 0000000000..4bdfa7d2c9 --- /dev/null +++ b/meta-networking/recipes-connectivity/samba/samba-4.4.2/volatiles.03_samba | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # <type> <owner> <group> <mode> <path> <linksource> | ||
| 2 | d root root 0755 /var/log/samba none | ||
| 3 | d root root 0755 /var/run/samba none | ||
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb index d10a1dc36e..9358ca5ebd 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb | |||
| @@ -17,6 +17,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \ | |||
| 17 | file://20-do-not-import-target-module-while-cross-compile.patch \ | 17 | file://20-do-not-import-target-module-while-cross-compile.patch \ |
| 18 | file://21-add-config-option-without-valgrind.patch \ | 18 | file://21-add-config-option-without-valgrind.patch \ |
| 19 | file://0006-avoid-using-colon-in-the-checking-msg.patch \ | 19 | file://0006-avoid-using-colon-in-the-checking-msg.patch \ |
| 20 | file://volatiles.03_samba \ | ||
| 20 | " | 21 | " |
| 21 | 22 | ||
| 22 | SRC_URI[md5sum] = "03a65a3adf08ceb1636ad59d234d7f9d" | 23 | SRC_URI[md5sum] = "03a65a3adf08ceb1636ad59d234d7f9d" |
| @@ -109,6 +110,7 @@ do_install_append() { | |||
| 109 | install -d ${D}${sysconfdir}/samba | 110 | install -d ${D}${sysconfdir}/samba |
| 110 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts | 111 | echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts |
| 111 | install -m644 packaging/LSB/smb.conf ${D}${sysconfdir}/samba/smb.conf | 112 | install -m644 packaging/LSB/smb.conf ${D}${sysconfdir}/samba/smb.conf |
| 113 | install -D -m 644 ${WORKDIR}/volatiles.03_samba ${D}${sysconfdir}/default/volatiles/03_samba | ||
| 112 | 114 | ||
| 113 | install -d ${D}${sysconfdir}/sysconfig/ | 115 | install -d ${D}${sysconfdir}/sysconfig/ |
| 114 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/sysconfig/samba | 116 | install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/sysconfig/samba |
