]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
dhcpcd: don't try to run autoreconf
authorRoss Burton <ross.burton@arm.com>
Mon, 17 Mar 2025 13:27:48 +0000 (13:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Mar 2025 11:24:39 +0000 (11:24 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/dhcpcd/dhcpcd_10.2.2.bb

index 0b4345e7fa4a133a86fd77898614a75863a892aa..f9dfd2e24585f6cf44655126543408541cfe6f75 100644 (file)
@@ -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}