mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] softhsm: use alternative for config file
@ 2025-08-14 10:00 Fabian Pflug
  2025-08-29  9:46 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Pflug @ 2025-08-14 10:00 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] softhsm: use alternative for config file
  2025-08-14 10:00 [ptxdist] [PATCH] softhsm: use alternative for config file Fabian Pflug
@ 2025-08-29  9:46 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-08-29  9:46 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

Thanks, applied as 5af1db972fd3fd13b45f4d860a285c87ef564a4e.

Michael

[sent from post-receive hook]

On Fri, 29 Aug 2025 11:46:22 +0200, Fabian Pflug <f.pflug@pengutronix.de> wrote:
> 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>
> Message-Id: <20250814100011.1962990-1-f.pflug@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/softhsm.make b/rules/softhsm.make
> index 80f79adec11d..a69a2c585e81 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)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-29  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-14 10:00 [ptxdist] [PATCH] softhsm: use alternative for config file Fabian Pflug
2025-08-29  9:46 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox