summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2016-07-02 18:21:31 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-02 18:50:36 +0200
commit3768a98f21d33d53f6358568388e6a3228bec291 (patch)
treef2c94e60a122a41b181107cfa1a004afd23e7caf
parent63ee560d2f5113f325f05697d2fb0fdc61448859 (diff)
downloadbuildroot-3768a98f21d33d53f6358568388e6a3228bec291.tar.gz
buildroot-3768a98f21d33d53f6358568388e6a3228bec291.zip
package/samba4: Change tmpfiles path
Per the documentation: https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html The order of path by priorites is: /etc/tmpfiles.d/*.conf /run/tmpfiles.d/*.conf /usr/lib/tmpfiles.d/*.conf For the user to be able to override our tmpfiles easily, it's better to place our files in /usr/lib/tmpfiles.d/ Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/samba4/samba4.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index 9f2bb0db04..9ac72f5530 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -156,8 +156,8 @@ define SAMBA4_INSTALL_INIT_SYSTEMD
ln -sf ../../../../usr/lib/systemd/system/winbind.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/winbind.service
$(INSTALL) -D -m 644 $(@D)/packaging/systemd/samba.conf.tmp \
- $(TARGET_DIR)/etc/tmpfiles.d/samba.conf
- printf "d /var/log/samba 755 root root\n" >>$(TARGET_DIR)/etc/tmpfiles.d/samba.conf
+ $(TARGET_DIR)/usr/lib/tmpfiles.d/samba.conf
+ printf "d /var/log/samba 755 root root\n" >>$(TARGET_DIR)/usr/lib/tmpfiles.d/samba.conf
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud