From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 18 May 2026 09:53:54 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wOsnS-0013E7-22 for lore@lore.pengutronix.de; Mon, 18 May 2026 09:53:54 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wOsnS-00030N-08; Mon, 18 May 2026 09:53:54 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wOsmy-0002Dd-6p; Mon, 18 May 2026 09:53:24 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wOsmx-000YPn-1t; Mon, 18 May 2026 09:53:24 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wOsmy-00000000CtC-0QmI; Mon, 18 May 2026 09:53:24 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 18 May 2026 09:53:24 +0200 Message-ID: <20260518075324.49539-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] hostapd: add an option to install hostapd_cli X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Ladislav Michl Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 4823831cd2cffc79b0c910fd33009b2202fa3e61. Michael [sent from post-receive hook] On Mon, 18 May 2026 09:53:23 +0200, Ladislav Michl wrote: > Signed-off-by: Ladislav Michl > Message-Id: > Signed-off-by: Michael Olbrich > > diff --git a/rules/hostapd.in b/rules/hostapd.in > index 9c95fe37387e..62e9f8207dbb 100644 > --- a/rules/hostapd.in > +++ b/rules/hostapd.in > @@ -24,6 +24,12 @@ menuconfig HOSTAPD > > if HOSTAPD > > +config HOSTAPD_CLI > + bool > + prompt "Install hostapd_cli" > + help > + Install hostapd command-line interface > + > config HOSTAPD_SYSTEMD_UNIT > bool > prompt "Enable systemd support" > diff --git a/rules/hostapd.make b/rules/hostapd.make > index 1cd3886a94d7..dfdc637d0d20 100644 > --- a/rules/hostapd.make > +++ b/rules/hostapd.make > @@ -74,6 +74,10 @@ $(STATEDIR)/hostapd.targetinstall: > @$(call install_copy, hostapd, 0, 0, 0755, -, /usr/sbin/hostapd) > @$(call install_alternative, hostapd, 0, 0, 0644, /etc/hostapd/hostapd.conf) > > +ifdef PTXCONF_HOSTAPD_CLI > + @$(call install_copy, hostapd, 0, 0, 0755, -, /usr/sbin/hostapd_cli) > +endif > + > ifdef PTXCONF_HOSTAPD_SYSTEMD_UNIT > @$(call install_alternative, hostapd, 0, 0, 0644, \ > /usr/lib/systemd/system/hostapd.service)