From b9e711cce58ae5306738cb7be720d43b9f439d6c Mon Sep 17 00:00:00 2001 From: chen-jan Date: Thu, 8 Jun 2023 15:58:30 +0800 Subject: [PATCH] Add ExecStartPost option to pkcsslotd.service for fix starting error --- opencryptoki.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/opencryptoki.spec b/opencryptoki.spec index 3437cba..70d35e4 100644 --- a/opencryptoki.spec +++ b/opencryptoki.spec @@ -1,6 +1,6 @@ Name: opencryptoki Version: 3.10.0 -Release: 3 +Release: 4 Summary: PKCS#11 library and tools for Linux License: CPL URL: http://sourceforge.net/projects/opencryptoki @@ -57,6 +57,7 @@ Document for openCryptoki. %make_build CHGRP=/bin/true +sed -i "/ExecStart/i ExecStartPost=/usr/bin/sleep 1" ./misc/pkcsslotd.service %install %make_install CHGRP=/bin/true @@ -114,5 +115,8 @@ exit 0 %changelog +* Thu Jun 08 2023 chenchen - 3.10.0-4 +- Add ExecStartPost option to pkcsslotd.service for fix starting error + * Fri Feb 28 2020 zhujunhao - 3.10.0-3 - Package init -- Gitee