mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Fabian Pflug <f.pflug@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: [ptxdist] [PATCH] softhsm: use alternative for config file
Date: Thu, 14 Aug 2025 12:00:11 +0200	[thread overview]
Message-ID: <20250814100011.1962990-1-f.pflug@pengutronix.de> (raw)

The config file for softhsm is better as install-alternative, as it
might be overwritten by the different boards.

Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
 rules/softhsm.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/softhsm.make b/rules/softhsm.make
index 80f79adec..a69a2c585 100644
--- a/rules/softhsm.make
+++ b/rules/softhsm.make
@@ -62,7 +62,7 @@ $(STATEDIR)/softhsm.targetinstall:
 
 	@$(call install_copy, softhsm, 0, 0, 0755, -, /usr/lib/softhsm/libsofthsm2.so)
 
-	@$(call install_copy, softhsm, 0, 0, 0644, -, /etc/softhsm2.conf)
+	@$(call install_alternative, softhsm, 0, 0, 0644, /etc/softhsm2.conf)
 
 ifdef PTXCONF_SOFTHSM_P11_KIT
 	@$(call install_copy, softhsm, 0, 0, 0644, -, /usr/share/p11-kit/modules/softhsm2.module)
-- 
2.39.5




                 reply	other threads:[~2025-08-14 10:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20250814100011.1962990-1-f.pflug@pengutronix.de \
    --to=f.pflug@pengutronix.de \
    --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