From 944551b0c9dff0d8ef1c93f99044383d402a33a1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 17 Mar 2025 13:27:48 +0000 Subject: [PATCH] dhcpcd: don't try to run autoreconf This recipe has a configure script that isn't actually autoconf but tries hard to look like it is. Instead of trying to run autoreconf, change do_configure to just run the configure script directly. (From OE-Core rev: e80d2ec5cda1121ba6b3d299fb2e79c194c7f30e) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.2.bb | 7 +++++++ 1 file changed, 7 insertions(+) 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 SRCREV = "f6983c18dbf7989f43a2838beeaf62a54c53ff1d" S = "${WORKDIR}/git" +# Doesn't use automake so we can't do out-of-tree builds inherit pkgconfig autotools-brokensep systemd useradd SYSTEMD_SERVICE:${PN} = "dhcpcd.service" @@ -49,6 +50,12 @@ EXTRA_OECONF = "--enable-ipv4 \ USERADD_PACKAGES = "${PN}" USERADD_PARAM:${PN} = "--system -d ${DBDIR} -M -s /bin/false -U dhcpcd" +# This isn't autoconf but is instead a configure script that tries to look like +# autoconf, so just run it directly. +do_configure() { + oe_runconf +} + do_install:append () { # install systemd unit files install -d ${D}${systemd_system_unitdir}