summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.2.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.2.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.2.bb
index 0b4345e7fa..f9dfd2e245 100644
--- a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.2.bb
+++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.2.bb
@@ -20,6 +20,7 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma
20SRCREV = "f6983c18dbf7989f43a2838beeaf62a54c53ff1d" 20SRCREV = "f6983c18dbf7989f43a2838beeaf62a54c53ff1d"
21S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
22 22
23# Doesn't use automake so we can't do out-of-tree builds
23inherit pkgconfig autotools-brokensep systemd useradd 24inherit pkgconfig autotools-brokensep systemd useradd
24 25
25SYSTEMD_SERVICE:${PN} = "dhcpcd.service" 26SYSTEMD_SERVICE:${PN} = "dhcpcd.service"
@@ -49,6 +50,12 @@ EXTRA_OECONF = "--enable-ipv4 \
49USERADD_PACKAGES = "${PN}" 50USERADD_PACKAGES = "${PN}"
50USERADD_PARAM:${PN} = "--system -d ${DBDIR} -M -s /bin/false -U dhcpcd" 51USERADD_PARAM:${PN} = "--system -d ${DBDIR} -M -s /bin/false -U dhcpcd"
51 52
53# This isn't autoconf but is instead a configure script that tries to look like
54# autoconf, so just run it directly.
55do_configure() {
56 oe_runconf
57}
58
52do_install:append () { 59do_install:append () {
53 # install systemd unit files 60 # install systemd unit files
54 install -d ${D}${systemd_system_unitdir} 61 install -d ${D}${systemd_system_unitdir}