diff options
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/dhcp/dhcp.inc | 10 |
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 | ||
22 | inherit autotools systemd | 22 | inherit autotools systemd |
23 | 23 | ||
24 | SYSTEMD_PACKAGES = "dhcp-server dhcp-relay" | 24 | SYSTEMD_PACKAGES = "${PN}-server ${PN}-relay" |
25 | SYSTEMD_SERVICE_dhcp-server = "dhcpd.service" | 25 | SYSTEMD_SERVICE_${PN}-server = "dhcpd.service" |
26 | SYSTEMD_AUTO_ENABLE_dhcp-server = "disable" | 26 | SYSTEMD_AUTO_ENABLE_${PN}-server = "disable" |
27 | 27 | ||
28 | SYSTEMD_SERVICE_dhcp-relay = "dhcrelay.service" | 28 | SYSTEMD_SERVICE_${PN}-relay = "dhcrelay.service" |
29 | SYSTEMD_AUTO_ENABLE_dhcp-relay = "disable" | 29 | SYSTEMD_AUTO_ENABLE_${PN}-relay = "disable" |
30 | 30 | ||
31 | TARGET_CFLAGS += "-D_GNU_SOURCE" | 31 | TARGET_CFLAGS += "-D_GNU_SOURCE" |
32 | EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \ | 32 | EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \ |