[Buildroot] [git commit branch/2017.02.x] package/dhcp: create tmpfiles.d directory
Peter Korsgaard
peter at korsgaard.com
Thu Jun 1 14:19:30 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=664322444df630d07cd943f567a2eb6e3561232d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
dhcp.mk tries to create dhcp.conf in a non-existant directory.
Fixes:
http://autobuild.buildroot.net/results/40e/40e48f74b586ce380766cf31473932e43090671e
Signed-off-by: Romain Naour <romain.naour at gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 6ddab6c28ec1cae2718928505f96705cf8e08e83)
Signed-off-by: Peter Korsgaard <peter at korsgaard.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 - - - - -" >> \
More information about the buildroot
mailing list