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 |

Reply via email to