diff options
-rw-r--r-- | meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend b/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend index 4344eaa90..829ad3cfc 100644 --- a/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend +++ b/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.0.bbappend | |||
@@ -3,19 +3,9 @@ FILESEXTRAPATHS := "${THISDIR}/files" | |||
3 | 3 | ||
4 | inherit systemd | 4 | inherit systemd |
5 | 5 | ||
6 | PRINC := "${@int(PRINC) + 1}" | 6 | PRINC := "${@int(PRINC) + 2}" |
7 | 7 | ||
8 | SYSTEMD_PACKAGES = "dhcp-server-systemd" | 8 | SYSTEMD_PACKAGES = "dhcp-server-systemd" |
9 | SYSTEMD_SERVICE_dhcp-server-systemd = "dhcpd.service" | 9 | SYSTEMD_SERVICE_dhcp-server-systemd = "dhcpd.service" |
10 | 10 | ||
11 | SRC_URI += "file://dhcpd.service" | 11 | SRC_URI += "file://dhcpd.service" |
12 | |||
13 | do_install_append() { | ||
14 | install -d ${D}${base_libdir}/systemd/system | ||
15 | install -m 644 ${WORKDIR}/dhcpd.service ${D}${base_libdir}/systemd/system | ||
16 | } | ||
17 | |||
18 | PACKAGES =+ "dhcp-server-systemd" | ||
19 | |||
20 | FILES_dhcp-server-systemd += "${base_libdir}/systemd" | ||
21 | RDEPENDS_dhcp-server-systemd += "dhcp-server" | ||