From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 18 Nov 2022 09:46:00 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ovx0a-00B8Z3-0T for lore@lore.pengutronix.de; Fri, 18 Nov 2022 09:46:00 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ovx0Z-0000xP-D6; Fri, 18 Nov 2022 09:45:59 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovx02-0000ws-1o; Fri, 18 Nov 2022 09:45:26 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ovx00-0050uS-6q; Fri, 18 Nov 2022 09:45:25 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ovx00-0041op-Ju; Fri, 18 Nov 2022 09:45:24 +0100 Date: Fri, 18 Nov 2022 09:45:24 +0100 From: Michael Olbrich To: Tamino Bauknecht Message-ID: Mail-Followup-To: Tamino Bauknecht , ptxdist@pengutronix.de References: <20220915193024.13117-1-dev@tb6.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220915193024.13117-1-dev@tb6.eu> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] Fix mosquitto installation 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: ptxdist@pengutronix.de 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.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Sep 15, 2022 at 09:30:24PM +0200, Tamino Bauknecht wrote: > Because the previous MOSQUITTO_CONF_OPT configuration used > CROSS_CMAKE_USR, the installation of /etc/mosquitto/mosquitto.conf > failed since the source was located at > /usr/etc/mosquitto/mosquitto.conf. > Using CROSS_CMAKE_ROOT instead fixes this issue and all files are > installed to the correct location. Sorry, I missed this patch somehow. I'm not seeing the issue here. Maybe you backported the rule to an older PTXdist version? The file is installed into CMAKE_INSTALL_SYSCONFDIR and "-DCMAKE_INSTALL_SYSCONFDIR=/etc" was added to CROSS_CMAKE_USR in PTXdist 2021.02.0. Michael > Signed-off-by: Tamino Bauknecht > --- > rules/mosquitto.make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rules/mosquitto.make b/rules/mosquitto.make > index eedb5ca58..f8887e019 100644 > --- a/rules/mosquitto.make > +++ b/rules/mosquitto.make > @@ -34,7 +34,7 @@ MOSQUITTO_LICENSE_FILES := \ > > MOSQUITTO_CONF_TOOL := cmake > MOSQUITTO_CONF_OPT := \ > - $(CROSS_CMAKE_USR) \ > + $(CROSS_CMAKE_ROOT) \ > -DDOCUMENTATION=OFF \ > -DINC_BRIDGE_SUPPORT=ON \ > -DINC_DB_UPGRADE=ON \ > -- > 2.37.3 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |