mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Ian Abbott <abbotti@mev.co.uk>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Can SYSTEMD_HELPER be changed persistently?
Date: Sat, 23 Mar 2024 11:38:44 +0100	[thread overview]
Message-ID: <Zf6xNJYO60A8qF2Q@pengutronix.de> (raw)
In-Reply-To: <215d9c70-079e-4717-809d-37c88c00fe38@mev.co.uk>

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	other threads:[~2024-03-23 10:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-19 16:17 Ian Abbott
2024-03-23 10:38 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zf6xNJYO60A8qF2Q@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=abbotti@mev.co.uk \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox