diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 8 |
1 files changed, 6 insertions, 2 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 3d677bec15..42315138ea 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | |||
| @@ -111,8 +111,12 @@ EXTRA_OECONF += "--enable-fhs \ | |||
| 111 | LDFLAGS += "-Wl,-z,relro,-z,now" | 111 | LDFLAGS += "-Wl,-z,relro,-z,now" |
| 112 | 112 | ||
| 113 | do_install_append() { | 113 | do_install_append() { |
| 114 | rmdir --ignore-fail-on-non-empty "${D}/run/samba" | 114 | if [ -d "${D}/run" ]; then |
| 115 | rmdir --ignore-fail-on-non-empty "${D}/run" | 115 | if [ -d "${D}/run/samba" ]; then |
| 116 | rmdir --ignore-fail-on-non-empty "${D}/run/samba" | ||
| 117 | fi | ||
| 118 | rmdir --ignore-fail-on-non-empty "${D}/run" | ||
| 119 | fi | ||
| 116 | 120 | ||
| 117 | if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then | 121 | if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then |
| 118 | install -d ${D}${systemd_unitdir}/system | 122 | install -d ${D}${systemd_unitdir}/system |
