summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc b/meta/recipes-connectivity/dhcp/dhcp.inc
index a1752548be..4949e0201e 100644
--- a/meta/recipes-connectivity/dhcp/dhcp.inc
+++ b/meta/recipes-connectivity/dhcp/dhcp.inc
@@ -21,12 +21,12 @@ SRC_URI = "ftp://ftp.isc.org/isc/dhcp/${PV}/dhcp-${PV}.tar.gz \
21 21
22inherit autotools systemd 22inherit autotools systemd
23 23
24SYSTEMD_PACKAGES = "dhcp-server dhcp-relay" 24SYSTEMD_PACKAGES = "${PN}-server ${PN}-relay"
25SYSTEMD_SERVICE_dhcp-server = "dhcpd.service" 25SYSTEMD_SERVICE_${PN}-server = "dhcpd.service"
26SYSTEMD_AUTO_ENABLE_dhcp-server = "disable" 26SYSTEMD_AUTO_ENABLE_${PN}-server = "disable"
27 27
28SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service" 28SYSTEMD_SERVICE_${PN}-relay = "dhcrelay.service"
29SYSTEMD_AUTO_ENABLE_dhcp-relay = "disable" 29SYSTEMD_AUTO_ENABLE_${PN}-relay = "disable"
30 30
31TARGET_CFLAGS += "-D_GNU_SOURCE" 31TARGET_CFLAGS += "-D_GNU_SOURCE"
32EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \ 32EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \