diff options
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp.inc')
-rw-r--r-- | meta/recipes-connectivity/dhcp/dhcp.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc b/meta/recipes-connectivity/dhcp/dhcp.inc index 5703f1e06d..5e396f1594 100644 --- a/meta/recipes-connectivity/dhcp/dhcp.inc +++ b/meta/recipes-connectivity/dhcp/dhcp.inc | |||
@@ -24,7 +24,7 @@ SRC_URI = "ftp://ftp.isc.org/isc/dhcp/${PV}/dhcp-${PV}.tar.gz \ | |||
24 | UPSTREAM_CHECK_URI = "ftp://ftp.isc.org/isc/dhcp/" | 24 | UPSTREAM_CHECK_URI = "ftp://ftp.isc.org/isc/dhcp/" |
25 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.\d+\.(\d+?))/" | 25 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.\d+\.(\d+?))/" |
26 | 26 | ||
27 | inherit autotools systemd useradd | 27 | inherit autotools systemd useradd update-rc.d |
28 | 28 | ||
29 | USERADD_PACKAGES = "${PN}-server" | 29 | USERADD_PACKAGES = "${PN}-server" |
30 | USERADD_PARAM_${PN}-server = "--system --no-create-home --home-dir /var/run/${PN} --shell /bin/false --user-group ${PN}" | 30 | USERADD_PARAM_${PN}-server = "--system --no-create-home --home-dir /var/run/${PN} --shell /bin/false --user-group ${PN}" |
@@ -36,6 +36,10 @@ SYSTEMD_AUTO_ENABLE_${PN}-server = "disable" | |||
36 | SYSTEMD_SERVICE_${PN}-relay = "dhcrelay.service" | 36 | SYSTEMD_SERVICE_${PN}-relay = "dhcrelay.service" |
37 | SYSTEMD_AUTO_ENABLE_${PN}-relay = "disable" | 37 | SYSTEMD_AUTO_ENABLE_${PN}-relay = "disable" |
38 | 38 | ||
39 | INITSCRIPT_PACKAGES = "dhcp-server" | ||
40 | INITSCRIPT_NAME_dhcp-server = "dhcp-server" | ||
41 | INITSCRIPT_PARAMS_dhcp-server = "defaults" | ||
42 | |||
39 | TARGET_CFLAGS += "-D_GNU_SOURCE" | 43 | TARGET_CFLAGS += "-D_GNU_SOURCE" |
40 | EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \ | 44 | EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \ |
41 | --with-srv6-lease-file=${localstatedir}/lib/dhcp/dhcpd6.leases \ | 45 | --with-srv6-lease-file=${localstatedir}/lib/dhcp/dhcpd6.leases \ |