diff mbox series

[2/3] dhcpcd: don't try to run autoreconf

Message ID 20250317132749.1778185-2-ross.burton@arm.com
State New
Headers show
Series [1/3] mdadm: don't inherit autotools | expand

Commit Message

Ross Burton March 17, 2025, 1:27 p.m. UTC
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb
index 99b72852bf3..8bc2ad16a39 100644
--- a/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb
+++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_10.1.0.bb
@@ -21,6 +21,7 @@  SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma
 SRCREV = "57c3506a5622e199cf0e3fc1ef26a71cdedc9521"
 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"
@@ -50,6 +51,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}