From: Romain Naour Date: Fri, 26 May 2017 22:13:47 +0000 (+0200) Subject: package/dhcp: create tmpfiles.d directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ddab6c28ec1cae2718928505f96705cf8e08e83;p=buildroot.git package/dhcp: create tmpfiles.d directory 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 Tested-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 4d2cb06352..45cae087aa 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 - - - - -" >> \