From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 23 Mar 2024 11:39:04 +0100 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 1rnymG-0013za-0s for lore@lore.pengutronix.de; Sat, 23 Mar 2024 11:39:04 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rnymF-0007Md-Mh; Sat, 23 Mar 2024 11:39:03 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rnylw-0007MT-US; Sat, 23 Mar 2024 11:38:44 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnylw-0081Da-Em; Sat, 23 Mar 2024 11:38:44 +0100 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rnylw-00D5e3-1C; Sat, 23 Mar 2024 11:38:44 +0100 Date: Sat, 23 Mar 2024 11:38:44 +0100 From: Michael Olbrich To: Ian Abbott Message-ID: Mail-Followup-To: Ian Abbott , ptxdist@pengutronix.de References: <215d9c70-079e-4717-809d-37c88c00fe38@mev.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <215d9c70-079e-4717-809d-37c88c00fe38@mev.co.uk> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] Can SYSTEMD_HELPER be changed persistently? 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hi, On Tue, Mar 19, 2024 at 04:17:11PM +0000, Ian Abbott wrote: > This is really just a minor inconvenience. I am not using systemd in a > project, but every time I do an 'oldconfig' operation, the configuration > system asks if I want to select SYSTEMD_HELPER, i.e.: > > --------------------------------------------------------------- > Updating 'myproject/configs/ptxconfig'... > info: successfully migrated > '/path/to/ptxdist/projects/myproject/configs/ptxconfig' > > * > * Restart config... > * > * > * systemd > * > systemd (SYSTEMD_HELPER) [N/m/y/?] (NEW) > # > # configuration written to .config > # > --------------------------------------------------------------- > > The ptxconfig file contains the line: > > # PTXCONF_SYSTEMD_HELPER is not set > > As an experiment, I tried setting the SYSTEMD_HELPER to all three states in > turn (not set, m, and y), but the next 'oldconfig' operation always ignores > the current setting and asks for the new setting. > > I'm currently using ptxdist release 2024.03.0 but I guess this problem will > have first appeared in release 2023.11.0. Right, the migrate helper that I added when SYSTEMD_HELPER was introduced, is not quite correct and drops the SYSTEMD_HELPER symbol in your case. I have a fix for this in my test queue and it should hit master soon. It should be fixed in the next release. Michael -- 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 |