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

Signed-off-by: Fabian Pflug <[email protected]>
---
 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 via email to