All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/dhcp: create tmpfiles.d directory
@ 2017-05-26 22:13 Romain Naour
  2017-05-26 22:13 ` [Buildroot] [PATCH 2/2] package/dhcp: dhcp server: select systemd tmpfile support when systemd is used Romain Naour
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Romain Naour @ 2017-05-26 22:13 UTC (permalink / raw)
  To: buildroot

dhcp.mk try to create dhcp.conf in a non-existant directory.

Fixes:
http://autobuild.buildroot.net/results/40e/40e48f74b586ce380766cf31473932e43090671e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/dhcp/dhcp.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index 4d2cb06..45cae08 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -102,6 +102,7 @@ define DHCP_INSTALL_INIT_SYSTEMD
 	ln -sf ../../../../usr/lib/systemd/system/dhcpd.service \
 		$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dhcpd.service
 
+	mkdir -p $(TARGET_DIR)/usr/lib/tmpfiles.d
 	echo "d /var/lib/dhcp 0755 - - - -" > \
 		$(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf
 	echo "f /var/lib/dhcp/dhcpd.leases - - - - -" >> \
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-26 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-26 22:13 [Buildroot] [PATCH 1/2] package/dhcp: create tmpfiles.d directory Romain Naour
2017-05-26 22:13 ` [Buildroot] [PATCH 2/2] package/dhcp: dhcp server: select systemd tmpfile support when systemd is used Romain Naour
2017-06-24 21:28   ` Thomas Petazzoni
2017-06-26 20:24     ` Peter Korsgaard
2017-05-27  7:45 ` [Buildroot] [PATCH 1/2] package/dhcp: create tmpfiles.d directory Bernd Kuhls
2017-05-27 15:18 ` Thomas Petazzoni
2017-06-01 14:19 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.